Which version of ClueTip should I use? Everything after ClueTip v0.9.8 is for jQuery 1.3 and at least in v1.0.4 the jquery.hoverIntent.js is in a sub dire, /lib, and jquery.dimensions.js is missing completely.
Also there is a jquery.dimensions-1.2.js for v0.9.8.
Would be nice if the docs for this module could be a bit more clearer about this.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | dimensions_jquery_update.patch | 6.03 KB | perusio |
Comments
Comment #1
Scott J commentedhttp://docs.jquery.com/Plugins/dimensions says "Deprecated. As of jQuery 1.2.6, the dimensions plugin has been merged into core."
So now what to do?
Comment #2
perusio commentedYes its unfortunate to force the jquery.dimensions plugin. Since it has been included in jQuery core.
An idea is when building the settings form detect jQuery version and show the element only if the version is below 1.2.6.
It can hook into http://drupal.org/project/jquery_update and find out if the required version is available.
Here's a patch for that. It's an hack. I think a refactoring of the code can improve it.
Comment #3
perusio commentedJust changing the issue parameters to better reflect the content.
Comment #4
perusio commentedOops. Forgot to change from Documentation to Code. Anyway the patch handles both.