Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:18
Conflict with other script on page
Poster: NuttyBuddy
Dated: Monday January 16 2006 - 16:47:40 GMT
I have a script for the images on my page, however it does not work when I insert the milonic script into my page. With Frontpage this is what i get <br><br>
Everything works just fine with the Firefox browser, but not with IE6 or Maxthon. Its not a mad rush to get it fixed, but I've been frustrated for 4 days.
The webpage is http://keanu.adrea.us/gallery01.html
Poster: vikenk
Dated: Monday January 16 2006 - 17:57:40 GMT
Hi,
I think that this is one of those cases where two similar Scripts just can't be used together. Actually, I'm pretty familiar with the ToolTip script you're using as I've used it myself quite a bit.
Unfortunately, I don't know any JavaScript coding, so I don't really know how to debug it. I can see where in the code the error occurs but I don't know what the work-around might be.
However, the core reason that it won't work (which is an educated guess on my part) is that Milonic has a Tooltips Script of it's own, and part of it is built into the Menu source files. So when you put the two scripts together, there may be some similar language that's conflicting.
Fortunately, Milonic's Tooltip Script can do everything that your current Tooltip script can do (Follow the mouse, insert images + text, etc) and is actually easier to incorporate. No setting variables and hidden Div's, etc.
Take a look here http://www.milonic.com/tooltips.php (you'll have to do do a View --> Source from your browser to see what the syntax is. Milonic will add documentation at a later date, I assume).
You can download the tooltips module here http://www.milonic.com/menumodules.php
Just scroll down until you see the module. Also, make sure you have the latest and greatest version of the menu source files and the tooltips.js file, as many bugs have been fixed.
Hope this Helps,
Viken K.