On Sunday, July 19, 2015 at 12:24:54 AM UTC-7, TiddlyWiker wrote: > > I have found the FramedLinksPlugin in tw classic very useful. > > Clicking an external link opens an IFRAME following the link instead of > opening a new tab/window. > > http://www.tiddlytools.com/#FramedLinksPlugin > > Is it possible to have the same plugin or a similar one for > TW5? >
You can create a simple "framed link" using TW5 native syntax, without any plugin. First, define the following TW5 macro: \define framedlink(url) <$button popup="$:/temp/framedlink/$url$" class="tc-btn-invisible">$url$< /$button> <$reveal type="nomatch" text="" state="$:/temp/framedlink/$url$"> <iframe src="$url$" width="100%" height="600px"></iframe> </$reveal> \end Then, invoke it like this: <<framedlink "http://tiddlywiki.com">> This creates a $button that, when clicked, $reveals the iframe. Clicking the $button text again hides the iframe. enjoy, -e Eric Shulman ELS Design Studios TiddlyTools - "Small Tools for Big Ideas!" InsideTiddlyWiki: The Missing Manuals YOUR DONATIONS ARE VERY IMPORTANT! HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... http://TiddlyTools.github.com/fundraising.html#MakeADonation Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b10a6e17-0951-4727-8c14-de956d05ffe9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

