Closed (works as designed)
Project:
Hovertips and Clicktips
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2007 at 21:26 UTC
Updated:
21 Dec 2009 at 23:23 UTC
Jump to comment: Most recent file
Comments
Comment #1
Dave Cohen commentedAttaching a module I use in Drupal 4.7. However, to make it work, you must patch your 4.7 installation as follows...
Drupal 4.7 defines a javascript function $(), and jquery defines the same function. So to make them play nice together, rename the drupal function. Because the drupal function returns an element given it's id, I rename the function to $id(). So do a search and replace in all files for "$(" and replace it with "$id(". You have to get where the function is defined (end of drupal.js) and also everywhere it is called, which may include contrib modules you've installed.
After you've replaced all "$(" with "$id(", install the attached package and it should work. I've included a version of jquery in the tarball, you may want to replace it with a more recent one.
Comment #2
gregglesGiven that this is provided here in case anyone needs it and that 4.7 is really out of date, I'm marking this "by design" to clean up the issue queue.