PDA

View Full Version : DHTML tooltip script II - make stationary?



dexodus
04-11-2005, 09:38 AM
I am using DHTML tooltip script II http://www.dynamicdrive.com/dynamicindex5/dhtmltooltip2.htm

How do I make it so the tooltip once open doesnt follow the mouse?

right now im using it with an image

<img src="someimage.jpg" onClick="return ddrivetip('description of image')">

and I will add a hide link inside the tooltip but currently wherever the mouse goes so does the tooltip so it makes it impossible to hide it ;)

jscheuer1
04-11-2005, 07:55 PM
add:


onMouseout="hideddrivetip()to your image tag, that way when you move off of the image it will dissapear.

dexodus
04-11-2005, 08:34 PM
add:


onMouseout="hideddrivetip()to your image tag, that way when you move off of the image it will dissapear.


Sorry maybe I explained it wrong..


I added it to an onclick so it would popup the box now the box will follow the box will follow the mouse around the entire page I want the box to open and stay where it opens

jscheuer1
04-12-2005, 05:28 AM
No, I got that but, with that script, it is about the best you can do. Try this script:

http://www.dynamicdrive.com/dynamicindex5/popinfo.htm

especially the 'sticky' style tip it has.