Closed (fixed)
Project:
BeautyTips
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2009 at 22:54 UTC
Updated:
6 Jul 2009 at 22:12 UTC
I tried to make hoverIntent work: #502318: How to make use of hoverIntent?
But the 'additionalJavascript' seems to actually make hoverIntent not work. Maybe I don't understand the code in beautytips_add_beautytips(). What is this key for?
Comments
Comment #1
kleinmp commentedAfter looking at issue #502318: How to make use of hoverIntent?, I tried the same thing out and had the same issue as you, though I'm not sure why. It works for me using other js, but not with hoverIntent for some reason. You are using the 'additionalJavascript' key correctly. I'll find some time in the next few days to try and solve this problem.
Comment #2
mattyoung commentedI notice the "additionalJavascript" key is added to "settings". It seems this is unnecessary. You had the unset() called commented out. If you view page source, you can see this key in the settings array.
I suggest take this key out and add hoverIntent js automatically if trigger = 'hoverIntent'?
you can load hoverIntent.js and all jquery plugins using http://drupal.org/project/jquery_plugin? see #505836: Use jquery_plugin?
Comment #3
kleinmp commentedI agree. This key is sort of useless, so I removed it and committed the changes to the dev version.