View Full Version : Cool DHTML Tooltip II help!!!

04-22-2006, 12:45 AM
i have my website and the thumbnail viewer II script is working fine but the cool dhtml tooltip II isn't doing anything. here is a link to the page were i put the cool dhtml tooltip II script. www.tonygsport.com/tonygirl.html
please help!!!
thank you

04-22-2006, 09:48 AM
There are actually quite a few problems on the page, some not related to the cool DHTML Tooltip. With regards to the tooltip, the error has to do with lines such as:

var offsetdivfrompointerX=10 //Customize x offset of
tooltip DIV relative to pointer image

There's an inadvertant line break inside the comment (everything after //), causing the comment to be interpreted.

I've attached your original page, but with the line breaks removed. However, as mentioned, you've got other errors on your page from other scripts, such as:

Error: exMNS is not defined
Source File: tonygirl.html
Line: 1

You may just want to start a fresh page and just insert the cool tooltip to ensure it works first, then take it from there.