TW5 : How to crate a link for a wizard instead of "wizard" button

82 views
Skip to first unread message

Deniz Rende

unread,
Jun 22, 2014, 6:17:08 PM6/22/14
to tiddl...@googlegroups.com
Hello,

I am working on creating a book journal that contains descriptions of the books I have read and it contains notes regarding to those books. In some parts of the Journal I have Words and their definitions set up this way:






From the image above you can see that I have a "Definition" button and when clicked , it produces the following:



So the code in the tiddler is like this:


* foolhardy  <$button message="tw-modal" param="foolhardy" class="btn btn-inverse">Definition</$button>

So in the above example, instead of creating a button that produces the result, I would like to be able to actually create a hyperlink so that when clicked it will give me the same output above. Is this possible?

Apologies if this question has been asked before but googling and searching here did not help much.

Please let me know if more information is needed, the above was based on a v5.0.10-beta static, but I also have one running on node.js v5.0.12-beta.

Thanks again!

Regards,

Deniz Rende

Deniz Rende

unread,
Jun 22, 2014, 6:20:15 PM6/22/14
to tiddl...@googlegroups.com
Sorry, The images did not load properly for some reason, please see the attached
jpic1.jpg
jpic2.jpg

Stephan Hradek

unread,
Jun 23, 2014, 1:38:44 AM6/23/14
to tiddl...@googlegroups.com
Would it be sufficient to use:

<$button message="tw-modal" param="foolhardy" class="btn-invisible myLinkClass">foolhardy</$button>

And to define in a CSS tiddler (tagged with $:/tags/stylesheet) a class myLinkClass which does your wanted styling?




Deniz Rende

unread,
Jun 23, 2014, 7:54:19 PM6/23/14
to tiddl...@googlegroups.com
Stephan,

Excellent, that works like a charm! Appreciated the help!. Thank you!


--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/C6dH1k4-f_8/unsubscribe.
To unsubscribe from this group and all its topics, 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.



--
Deniz Rende
E-mail: deniz...@gmail.com
Phone: +1 (510) 213-UNIX (8649)
Mobile: +1 (816) 213-2139
Web: http://www.machine-unix.com
Twitter: @rwzfs
Reply all
Reply to author
Forward
0 new messages