PDA

View Full Version : help cool DHTML tooltip cant make it work



thebommer2005
04-05-2006, 01:19 PM
first of all thank you for this great site it realy helped my alot of scripts but there is one script that i cant make it work here is a link to the script it called cool DHTML tooltip

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

i wrote the first two steps but the thired step i dont know where should i put it plz make a code simple

Step 3: Finally, add the following inside any link or page element that will contain a tooltip:

onfiltered="ddrivetip('JavaScriptKit.com _JavaScript tutorials','yellow', 300)"; onfiltered="hideddrivetip()"

and i need to know how to put a photo in the tooltip plz help me:confused:

note: i am using web page maker v.2

ddadmin
04-09-2006, 01:57 AM
The code for Step 3 should do directly inside the element you wish a tooltip to pop up. In the example of a link, it would look something like:

<a href="http://www.yahoo.com" onMouseover="ddrivetip('Visit Yahoo.com')";
onMouseout="hideddrivetip()">Search Engine</a>

As far as getting a picture to show up, you're probably better off using a script that's dedicated for that, for example, Image with description tooltip. (http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm)