[>img[image.jpg]
<HTML>
<img src="image.jpg" width="455" height="354" border="0" usemap="#map" />
<map name="map">
<area shape="rect" coords="160,16,336,77" href="http://location.com" target=new/>
<area shape="rect" coords="159,82,230,154" href="javascript:story.displayTiddler(null,'TiddlerName');"/>
</map>
</HTML>This works: Demo at : http://cpashow.tiddlyspot.com/#ImageMap%20test
<HTML>
<img src="http://sci8.com/wp-content/uploads/2014/10/test-all-the-things.jpg" width="455" height="354" border="0" usemap="#map" />
<map name="map" id="map">story.displayTiddler(null,'TiddlerName');--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
Not precisely; the way to open a tiddler with an HTML anchor link is to use a permalink like so:<area shape="rect" coords="159,82,230,154" href="#TiddlerName"/>
Perhaps also interesting...Using svg instead of a pixel-based image.Best wishes, Tobias.
:-) Bonus marks still available for "ease of installation"
Apologies if this is what you've already done here Interactive SVG Image Map @ tb5 but this is too advanced for me and I wondered if the layer thing might be easier (for me to do)
How do you select a particular part of the graphic to then assign a class to it?
Not sure if there is some application that would highlightsprecisely which part of the svg markup renders which element on the canvas.
As I mentioned before, the layer name then appears if you hover over it when the graphic is in a tiddler, so presumably it would be possible to use that same reference within the code to make it clickable...?
Just wondering, with either method of image mapping mentioned here, would it be possible to execute some javascript instead of open a tiddler that's linked to that spot?