Conflict with other script on page

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
NuttyBuddy
Beginner
Beginner
Posts: 4
Joined: Sun May 22, 2005 5:20 pm

Conflict with other script on page

Post by NuttyBuddy »

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>Image<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
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

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://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://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.
Post Reply