PDA

View Full Version : Cool DHTML Tooltip Script



hooloovoo
03-03-2005, 07:02 PM
http://dynamicdrive.com/dynamicindex5/dhtmltooltip.htm

I am having a problem with this script. The tooltips don't go where they are supposed to go in IE. I can't really explain it very well, but I'll try...

...The only thing I modified in the script is the CSS file...

I am using the script to create a Staff Directory. When the user mouses over the name of a staff member, a tooltip comes up describing their main duties. But the tooltips change position depending on where the name is on the page. Sometimes it is completely off the page, othertimes it is right on top of the name, obscuring it from view. I have attached a .txt file of the source code so you can see it. I hope I make some kind of sense...thank you in advance for any help you can offer

hooloovoo
03-10-2005, 08:15 PM
help, anyone!

ddadmin
03-16-2005, 07:12 AM
Hmmm it's very hard to debug your page, so there are so many things going on in it. If you could put the script in a clean page with just the changes you made to the CSS for it (and make sure the problem still exists), I can take a look.

hooloovoo
03-17-2005, 05:46 PM
OK. If I put it in a clean page, it works fine. So that means that it has to be something else in my page that is making it act strangely, right? Do you have any clue to point me in the right direction?

ddadmin
03-17-2005, 07:10 PM
You need to try and find out where the problem occurs. Try slowly adding in bits of content back into the fresh page until it breaks again. That should help you find your culprit, most likely another JavaScript or CSS definition on the page.

hooloovoo
03-17-2005, 07:18 PM
ok thank you so much!