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:
Code:
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:
Code:
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.
Bookmarks