On Friday, May 9, 2014 10:31:56 AM UTC+2, Ulrik Stervbo wrote:
>
> One way could be to include some javascript in the pdf-tiddler where the 
> source of the iframe is loaded onclick, but it would be nicer if this is 
> handled else where
>

This is no option, since TW already includes simple "code sanitation" so 
inline javascript / onclick() is removed because of security concerns. 
 

> - I imagine there may be times when a single tiddler transcludes just two 
> pdfs for comparison, and that this should be onload. Is transclusion 
> through a template possible? The template could then contain an onclick 
> macro using elements from the transcluded pdf tiddler for meaning full 
> display?
>

You could try to use the <<tabs ..>> macro. see: tiddlywiki.com - TabsMacro
It should remove the "hidden" tabs from the DOM, so it should reduce the 
memory footprint of one tiddler with many pdf links.
You could add some "manual" links that open single PDFs. So it would be 
possible to open several of them if really needed. 

-mario

-- 
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/d/optout.

Reply via email to