I was looking for a basic plugin that allowed the expansion/minimization of 
images in tiddlywiki. I couldn't find one so I tried to make it myself, 
shown here: http://hobotiddly.tiddlyspot.com/. I'm not much of a 
programmer, so it's a little amateurish. Also, if anyone knows of something 
like this that already exists, please point me in the right direction. 

The way it works is it creates a button and img element inside of a 
preexisting div element. Pressing the button can both show and hide the 
image. The two parameters passed to the macro are the id attribute of the 
div and the location of the image. I'm posting about this here to see if 
anyone knows of a smarter way to do this? For example, in order to place 
the button and img elements in the tiddler, you have to have some 
preexisting html (i.e. the div element) to put them in. Is there any way to 
generate all the html from within the macro?

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to