Hi xlines, Try adding your code in the head-section to the shadow tidder called MarkupPreHead and see if that works. Note, that your images - of course - are to reside in some other content tiddler.
Tobias. On 12 Apr., 16:29, xlines <[email protected]> wrote: > Hello! > > I am looking for a way to use Lightbox with Tiddly in a specific > situation. Basically, I want to run lightbox from within <html> tags > in a tiddler. I tried to put following code into a tiddler: > > <html> > > <head> > > <script type="text/javascript" src="js/prototype.js"></script> > <script type="text/javascript" src="js/scriptaculous.js? > load=effects,builder"></script> > <script type="text/javascript" src="js/lightbox.js"></script> > > <link rel="stylesheet" href="css/lightbox.css" type="text/css" > media="screen" /> > </head> > > <a href="xrd/xrd0.png" rel="lightbox" title="test">image #1</a> > > </html> > > In a regular .html file in the same folder as tiddly file, this would > run lightbox (so all the scripts and images are set correctly!). From > a tiddler, it has same effect like setting a regular link to image > e.g. image just loads. Problem is that clicking Back reloads entire > tiddly. > > Do note that I use TiddlyLightbox plugin and it is excellent. But in > this specific situation I really need to run it from html tags. As you > may noticed, I am not very experienced with jscript and html, so I > kindly ask for any assistance that would help me solving my problem. > Thank you! -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

