Gimp-Forum.net
Text on mouseover of hyperlinks not working - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Text on mouseover of hyperlinks not working (/Thread-Text-on-mouseover-of-hyperlinks-not-working)



Text on mouseover of hyperlinks not working - BonnieD - 04-05-2017

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?


RE: Text on mouseover of hyperlinks not working - Ofnuts - 04-06-2017

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).


RE: Text on mouseover of hyperlinks not working - BonnieD - 04-06-2017

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.


RE: Text on mouseover of hyperlinks not working - Ofnuts - 04-06-2017

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=".