PETER_g
02-09-2008, 07:45 PM
1) Script Title: Image w/ description tooltip
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm
3) Describe problem: I am trying the make a section on my portfolio site where the mouse hovers over the image and you can see it in full size, I have set up the rest of the script to work and it has done when I was using it a different way. The problem I am having is integrating the script into the image map, here is the image map source,
<img src="gallery.png" width="686" height="515" border="0" usemap="#map" />
<map name="map">
<!-- #$-:Image map file created by GIMP Image Map plug-in -->
<!-- #$-:GIMP Image Map plug-in by Maurits Rijk -->
<!-- #$-:Please do not edit lines starting with "#$" -->
<!-- #$VERSION:2.3 -->
<!-- #$AUTHOR:peter -->
<area shape="poly" coords="67,72,75,171,134,168,127,67" onmouseover="doTooltip(event,4)" onmouseout="hideTip()" nohref="nohref" />
<area shape="poly" coords="213,166,205,286,295,292,303,172,254,168" onmouseover="doTooltip(event,5)" onmouseout="hideTip()" nohref="nohref" />
<area shape="poly" coords="324,74,422,65,430,144,330,155" onmouseover="doTooltip(event,0)" onmouseout="hideTip()" nohref="nohref" />
<area shape="poly" coords="469,425,463,482,620,498,627,441" onmouseover="doTooltip(event,1)" onmouseout="hideTip()" nohref="nohref" />
<area shape="poly" coords="528,120,519,216,618,226,627,131" onmouseover="doTooltip(event,3)" onmouseout="hideTip()" nohref="nohref" />
<area shape="poly" coords="98,342,196,353,185,451,87,439" onmouseover="doTooltip(event,7)" onmouseout="hidetip()" nohref="nohref" />
<area shape="poly" coords="392,339,577,320,580,329,394,350,392,345" onmouseover="doTooltip(event,6)" onmouseout="hideTip()" nohref="nohref" />
</map>
I have tried editing it but can not find a way for it to work, could someone please help me, or better yet do it for me? ;)
(I have the messages[0] to messages[7])
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm
3) Describe problem: I am trying the make a section on my portfolio site where the mouse hovers over the image and you can see it in full size, I have set up the rest of the script to work and it has done when I was using it a different way. The problem I am having is integrating the script into the image map, here is the image map source,
<img src="gallery.png" width="686" height="515" border="0" usemap="#map" />
<map name="map">
<!-- #$-:Image map file created by GIMP Image Map plug-in -->
<!-- #$-:GIMP Image Map plug-in by Maurits Rijk -->
<!-- #$-:Please do not edit lines starting with "#$" -->
<!-- #$VERSION:2.3 -->
<!-- #$AUTHOR:peter -->
<area shape="poly" coords="67,72,75,171,134,168,127,67" onmouseover="doTooltip(event,4)" onmouseout="hideTip()" nohref="nohref" />
<area shape="poly" coords="213,166,205,286,295,292,303,172,254,168" onmouseover="doTooltip(event,5)" onmouseout="hideTip()" nohref="nohref" />
<area shape="poly" coords="324,74,422,65,430,144,330,155" onmouseover="doTooltip(event,0)" onmouseout="hideTip()" nohref="nohref" />
<area shape="poly" coords="469,425,463,482,620,498,627,441" onmouseover="doTooltip(event,1)" onmouseout="hideTip()" nohref="nohref" />
<area shape="poly" coords="528,120,519,216,618,226,627,131" onmouseover="doTooltip(event,3)" onmouseout="hideTip()" nohref="nohref" />
<area shape="poly" coords="98,342,196,353,185,451,87,439" onmouseover="doTooltip(event,7)" onmouseout="hidetip()" nohref="nohref" />
<area shape="poly" coords="392,339,577,320,580,329,394,350,392,345" onmouseover="doTooltip(event,6)" onmouseout="hideTip()" nohref="nohref" />
</map>
I have tried editing it but can not find a way for it to work, could someone please help me, or better yet do it for me? ;)
(I have the messages[0] to messages[7])