Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text on mouseover of hyperlinks not working
#1
I loaded my image/image map onto a webpage (a sharepoint wiki page). I was hoping that the text I added in the mouse-over box in the GIMP image map tool would appear in a small pop-out when someone moused over any of the hyperlinks that I have mapped in the image.  This is currently not working.  What am I missing?
Reply
#2
The text you add is for the "alt" attribute while the text for a mouse-over should go in the "title" attribute. Not very hard to change one for the other with a text editor:
Code:
<img src="TestMap.png" width="400" height="400" border="0" usemap="#map" />

<map name="map">
<area shape="rect" coords="0,0,200,200" title="upper-left popup" href="upper-left.htm" onmouseover=foobar />
</map>
However, note that "foobar" above, entered in the "onmouseover" field in the "Javascript" tab is just causing eerror in the Javascript console since it should really be a valid bit of JavaScript (possibly a call to some JavaScript function).
Reply
#3
I tried moving the text that I want to appear during the mouse-over of a link from the onMouseover box on the Java tab, and put it in the ALT text box on the Link tab.  Text still does not appear when I mouse-over that hyperlink in the image on my wiki page.


Attached Files Image(s)
   
Reply
#4
You won't get that text from the plugin, since the plugin won't set the adequate attribute. You have to add the title attribute yourself or change the "alt=" into a "title=".
Reply


Forum Jump: