sendsully
10-17-2003, 02:35 PM
I got the DHTML Tooltip Generator code from:
http://javascript.internet.com/messages/dhtml-tooltip-generator.html
I'm trying to use it with 4 image maps in Dreamweaver. When I mouse over them, the tooltip is the same for each. How can I make the tooltips different?
Here's the code I have:
<p><img src="../images/diagram.gif" width="549" height="535" border="0" usemap="#Map">
<map name="Map"><p><a href="javascript:void(0)" onMouseover="EnterContent('ToolTip','Product Realization','comments pop up as the cursor hovered over each square in the flow diagram that could allow more specific explanation. '); Activate();" onMouseout="deActivate()">ToolTip>
<map name="Map"><p><a href="javascript:void(1)" onMouseover="EnterContent('ToolTip','Angie','did this work. '); Activate();" onMouseout="deActivate()">ToolTip>
<area shape="rect" coords="221,311,320,359">
<area shape="rect" coords="224,108,323,156" href="#">
<area shape="rect" coords="156,207,255,255" href="#">
<area shape="rect" coords="285,207,384,255" href="#">
</map>
Please help.
Angie
http://javascript.internet.com/messages/dhtml-tooltip-generator.html
I'm trying to use it with 4 image maps in Dreamweaver. When I mouse over them, the tooltip is the same for each. How can I make the tooltips different?
Here's the code I have:
<p><img src="../images/diagram.gif" width="549" height="535" border="0" usemap="#Map">
<map name="Map"><p><a href="javascript:void(0)" onMouseover="EnterContent('ToolTip','Product Realization','comments pop up as the cursor hovered over each square in the flow diagram that could allow more specific explanation. '); Activate();" onMouseout="deActivate()">ToolTip>
<map name="Map"><p><a href="javascript:void(1)" onMouseover="EnterContent('ToolTip','Angie','did this work. '); Activate();" onMouseout="deActivate()">ToolTip>
<area shape="rect" coords="221,311,320,359">
<area shape="rect" coords="224,108,323,156" href="#">
<area shape="rect" coords="156,207,255,255" href="#">
<area shape="rect" coords="285,207,384,255" href="#">
</map>
Please help.
Angie