Very nice. Just to let you know I see this error message several times when I view it: TypeError: Result of expression '$(id_img).before' [undefined] is not a function
Jon On Dec 3, 12:04 am, Kolya33 <[email protected]> wrote: > Wow! Thank you. I can't believe I got this working with your help and > my non-existent JS skills. > Now all thumbnails are linked to their respective tiddlers. > (http://www.schwarzsilber.de/#Video) > The thumbnails are pulled from 3 different video sites (Youtube, > Vimeo, Dailymotion). That didn't make it too easy. > I also used your (Eric's) ImageSizePlugin to size some of them. I had > to change it a bit because the SHIFT-CLICK and CTRL-CLICK message and > move-cursor came in the way of the link. > Anyway, I'm glad it works now. Thanks again. > > Regards, Kolya > > On Dec 2, 9:00 pm, Eric Shulman <[email protected]> wrote: > > > > > > Is there a Javascript function that I can pass the name of a tiddler, > > > which will then open that tiddler, like clicking on a wikified link? > > > story.displayTiddler(after,title,template) > > > where: > > > after = tiddler DOM element or null or "top" or "bottom" > > the location in which the tiddler will be displayed > > title = tiddler title > > the name of the tiddler to be displayed > > template = template title or NULL or DEFAULT_VIEW_TEMPLATE or > > DEFAULT_EDIT_TEMPLATE > > the name of the tiddler defining the template to be used when > > rendering > > > Thus, the following will open SomeTiddler at the top of the story > > column: > > story.displayTiddler(null,'SomeTiddler') > > > To open a tiddler immediately following the current one (the usual TW > > core behavior for a TiddlyLink), you can also *find the current > > containing tiddler element* and pass it along, like this: > > > story.displayTiddler(story.findContainingTiddler(this),'SomeTiddler') > > > To open a tiddler for *editing* using a standard core TW editor, you > > can write: > > story.displayTiddler(null,'SomeTiddler',DEFAULT_EDIT_TEMPLATE) > > > To open a tiddler for viewing with a custom template: > > story.displayTiddler(null,'SomeTiddler','SomeViewTemplate'); > > > enjoy, > > -e > > Eric Shulman > > TiddlyTools / ELS Design Studios -- 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.

