This also might help in creating bookmarklets.

I created an experimental JavaScript macro (I need to find out how to 
package it) and activated it on http://tw5magick.tiddlyspot.com/

If you create a tiddler containing JavaScript source, the macro 
"bookmarklet" will generate a bookmarklet from it.

Example:

The tiddler "Reveal Password" contains the JavaScript source.

The tiddler "Reveal Password Bookmarklet" contains some help text and this 
macro call:

<$macrocall $name="bookmarklet" script={{Reveal Passwords}} text="Reveal 
Passwords" />

One could also use the macro like this:

<<bookmarklet script="alert('Hello World');void(0);" text="Hello World 
Bookmarklet" tooltip="I'm your Drag Queen ;)" className="optional classes">>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to