I changed a few things and got it to work.
First, move the script for the tooltip to the END of your file, just before the </html> With the way you have the tooltip div set up, the script has to come AFTER it.
Then, you need to change each link in your your html code to this format:
Code:
<td valign="top"><div align="right"><a href="#" onMouseOver="doTooltip(event,0)" onMouseOut="hideTip()"><img src="http://www.inkbytedesign.com/LID/images/press/picture-001.jpg" width="102" height="126" border="0" /></a></div></td>
Right now, you have it like this
Code:
<td valign="top"><div align="right"><a href="#" onMouseOver="doTooltip(event, messages[0] )" onMouseOut="hideTip()"><img src="images/press/picture-001.jpg" width="102" height="126" border="0" /></a></div></td>
Finally, in your javascript, you need to add the rest of the content that the script calls for (otherwise, you'll get an undefined). You can change the copy and the background color.
Code:
messages[0] = new Array('http://www.inkbytedesign.com/LID/images/press/picture-001.jpg','Here is a duck on a light blue background.',"#DDECFF");
You would do that for each picture.
Bookmarks