Log in

View Full Version : Cool DHTML Tooltip



egghead
09-17-2008, 09:29 PM
Is there a script similar to this that will pop-up a jpeg file?
I want to have a list of names and when each name is rolled over a photo will pop-up.
Thanks

ddadmin
09-18-2008, 12:36 AM
Hmm this script comes to mind: http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm

egghead
09-18-2008, 05:59 PM
Thanks, but what does the following mean?

/* IMPORTANT: Put script after tooltip div or

magicyte
09-18-2008, 07:19 PM
Nothing. It is just a comment tag. There should be another */ on the next line or so. Those lines don't matter. You can take those out.

-magicyte

egghead
09-18-2008, 08:41 PM
Thanks,
What I trying to do is make a list of movie titles and when they are rolled over a photo of the DVD box will be displayed.
So, under each title do I enter the script: <a href="#" onmouseover="doTooltip(event,0)" onmouseout="hideTip()">Link 1</a><br>

I wish I could see an example in HTML

magicyte
09-18-2008, 09:13 PM
No. You can put anything in between the > and <. You do not have to put the words Link 1. In fact, you could put an image there and enlarge it!!

-magicyte

egghead
09-19-2008, 05:57 PM
I plan to replace "LINK 1" with a movie title and when rolled over a DVD cover picture will be displayed.

Do I place the following script, which I will modify to fit my needs, just anywhere in the BODY?


<a href="#" onmouseover="doTooltip(event,0)" onmouseout="hideTip()">Link 1</a><br>

Thanks for putting up with a newbie,
Jim