Help with map

67 views
Skip to first unread message

Alex Hough

unread,
Jan 28, 2008, 7:15:31 AM1/28/08
to Tiddl...@googlegroups.com
Hello there.

I would like to get the href="[[diagram]]" bit of the below code to open a tiddler.  I don't know how to link to a tiddler from inside HTML


<html>
<map id="diagram" name="diagram">
<img src="./Images/path8322.png"
width="300" height="300"
alt="Diagram"
usemap="#diagram" />
<area shape="rect"
coords="0,0,82,126"
alt="diagram"
href="[[diagram]]">
</map>
</html>

Alex

Alex Hough

unread,
Jan 28, 2008, 7:39:27 AM1/28/08
to TiddlyWiki
Eric has provide the answer before:

in the image map, instead of

href="http://www.someplace.com/whatever"

try

href="javascript:story.displayTiddler(null,'TiddlerTitle');"

HTH,

-e
Eric Shulman
TiddlyTools / ELS Design Studio

http://www.TiddlyTools.com
"Small Tools for Big Ideas!"


This thread give the details
http://groups.google.com/group/TiddlyWiki/browse_thread/thread/661e8e7f1c213889/df5ef86cace538fa?hl=en&lnk=gst&q=map#df5ef86cace538fa

G.J.Robert

unread,
Aug 20, 2012, 9:55:28 PM8/20/12
to tiddl...@googlegroups.com, TiddlyWiki
Hi folks,

May I use "wikify" or any other macro script to let the mapped part display things like PopupMacro popup, NestedSliderPlugin floating panel, or AnnotationPlugin tooltip, and make them appear on mouse hover? How should I write in the code? Many thanks in advance!

G.J.Robert Ciang

AlexHough於 2008年1月28日星期一UTC+8下午8時39分27秒寫道:
Reply all
Reply to author
Forward
Message has been deleted
0 new messages