On Apr 13, 2:26 pm, Tobias Beer <[email protected]> wrote:
> Hi xlines,
>
> If I am not mistaken, in this case, you don't even need
> HTMLFormattingPlugin, since you can use image-markup tiddlywiki-style,
> no surrounding html-tags needed.
>
> Tobias.

You are right about that, but it is a bit more complicated than that.
You see, I have many, relatively large OpenOffice Calc files to
display in tiddlywiki. What I do is I export those to html and paste
html code into tiddler.  So, <html> tags are vital. Furthermore, I
need to insert links into cells pointing to pictures.

In previous post I did say HTMLFormattingPlugin solved problem, but it
actually didn't. :-(
Now linking works, but that plugin messes my table up, so I am back at
beginning. If I use <nowiki>, table remains intact , but links fail.
Too bad <nowiki> doesn't have </nowiki>  :)

I switched to earlier version of lightbox as described here:http://
www.huddletogether.com/projects/lightbox/

I have retried your idea, but inserting into MarkupPreHead :

<script type="text/javascript" src="lightbox.js"></script>

and trying :

<html><a href="images/image-1.jpg" rel="lightbox" title="my
caption">image #1</a></html>

in a Testing tiddler does not work. Image just loads up in same tab.

I also inserting:

<!--{{{-->
<script type="text/javascript">
initLightbox();
</script>
<!--}}}-->

into MarkupPreBody shadow tiddler hoping to simulate <body>'s onload
attribute, but it failed miserably.
I also tried installing InlineJavascriptPlugin by Eric Shulman,
creating new tiddler with

<script src="lightbox.js" show>
initLightbox();
</script>
<html>
<a href="xrd/xrd0.png" rel="lightbox" title="my caption">image #1</a>
</html>

Interesting enough, when I reload this tiddler, it reports Reference
Error: initLightbox is not define. Well, as you have probably noticed,
my understanding of web 2.0 is marginal at best, but what I read from
this error is that tiddlywiki is not even aware of lightbox.js. I am
growing so frustrated by my lack of knowledge of web programming. But
anyway ... do you have *any* idea I could try?

-- 
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.

Reply via email to