Title: JQuery Error: $.curCSS is not a function
Last modified: August 20, 2016

---

# JQuery Error: $.curCSS is not a function

 *  Resolved [s_berntheisel](https://wordpress.org/support/users/s_berntheisel/)
 * (@s_berntheisel)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/jquery-error-curcss-is-not-a-function/)
 * Hello everybody,
 * if you guys using jQuery over the Google API `http://ajax.googleapis.com/ajax/
   libs/jquery/1/jquery.min.js?ver=3.4.2` you might to get an error for an undefined
   function called “curCSS” which is deprecated since version 1.8.
 * To fix this error you can use an older version of jQuery (e.g. 1.7.+) or you 
   can just fix the following line of code in the `jquery.dimensions.js` which is
   located in the plugin folder (`/top-contributors/js`).
 * OLD Line: 116
    `return parseInt($.curCSS(el.jquery?el[0]:el,prop,true))||0;`
 * NEW Line: 116
    `return parseInt($(el).css(prop,true))||0;`
 * Cheers
 * Stefan Berntheisel
 * [http://wordpress.org/extend/plugins/top-contributors/](http://wordpress.org/extend/plugins/top-contributors/)

The topic ‘JQuery Error: $.curCSS is not a function’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/top-contributors.svg)
 * [Top Contributors](https://wordpress.org/plugins/top-contributors/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/top-contributors/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/top-contributors/)
 * [Active Topics](https://wordpress.org/support/plugin/top-contributors/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/top-contributors/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/top-contributors/reviews/)

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * 0 replies
 * 1 participant
 * Last reply from: [s_berntheisel](https://wordpress.org/support/users/s_berntheisel/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/jquery-error-curcss-is-not-a-function/)
 * Status: resolved