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.

CommentFileSizeAuthor
#2 dimensions_jquery_update.patch6.03 KBperusio

Comments

Scott J’s picture

http://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?

perusio’s picture

StatusFileSize
new6.03 KB

Yes 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.

perusio’s picture

Title: What version of ClueTip? » Patch to better handle jQuery >= 1.2.6 through jquery_update
Category: support » task

Just changing the issue parameters to better reflect the content.

perusio’s picture

Component: Documentation » Code

Oops. Forgot to change from Documentation to Code. Anyway the patch handles both.