View Full Version : Looking for a hover image script
bbilal
12-25-2007, 08:52 PM
I am looking for a script in which if you take our mouse cursor on the picture a dailog box will come up in which I can write what I want to. An alternate example is http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm# in this demo on taking our cursor on text a dailog box appear of picture but I want a picutre hover text box. Can anybody help me?
You can again use the script you mentioned for images. Just put the onmouseover and onmouseout events to the images you want.
bbilal
12-25-2007, 10:21 PM
I don't get you can you tell me how? by copying the code here and correct it?
bbilal
12-25-2007, 10:26 PM
And is there not any thing I can do on pictures? I have seen many where but right now I dont have any examples link.
tech_support
12-26-2007, 05:50 AM
You already gave an example.... do you need help? are you looking for another script that is similar?
bbilal
01-02-2008, 04:31 PM
Yes =)
BLiZZaRD
01-02-2008, 05:13 PM
So what's the problem? In the link you posted in the first post there is the code to place it on your links:
<a href="#" onmouseover="doTooltip(event,0)" onmouseout="hideTip()">Link 1</a><br>
<a href="#" onmouseover="doTooltip(event,1)" onmouseout="hideTip()">Link 2</a>
To do it to pictures instead of text links you just do:
<a href="#" onmouseover="doTooltip(event,0)" onmouseout="hideTip()"><img src="/path/to/image.jpg" alt="Image1"></a><br>
<a href="#" onmouseover="doTooltip(event,1)" onmouseout="hideTip()"><img src="/path/to/image2.jpg" alt="Image2"></a>
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.