The tooltips, including their images are configured here (from Step 1):
Code:
// tooltip content goes here (image, description, optional bgColor, optional textcolor)
var messages = new Array();
// multi-dimensional arrays containing:
// image and text for tooltip
// optional: bgColor and color to be sent to tooltip
messages[0] = new Array('red_balloon.gif','Here is a red balloon on a white background',"#FFFFFF");
messages[1] = new Array('duck2.gif','Here is a duck on a light blue background.',"#DDECFF");
messages[2] = new Array('test.gif','Test description','black','white');
The part that goes in where the code from your post is should look like so:
HTML Code:
<img src="ima/prodPics/signDodge.jpg" alt="Dodge" onmouseover="doTooltip(event,0)" onmouseout="hideTip()">
The 0 refers to the tip (messages number) to use. You can include the path for the image, ex:
Code:
messages[0] = new Array('ima/prodPics/2_signDodge.jpg','Dodge Sign',"#FFFFFF");
If no text is desired:
Code:
messages[0] = new Array('ima/prodPics/2_signDodge.jpg','',"#FFFFFF");
you still need an empty field for it (red in the above).
Bookmarks