On Friday, March 7, 2014 7:53:09 AM UTC-8, Caren Shiozaki wrote: > > In Classic Wiki, links to local files open them for display. When the > user closes that display window, they are returned to where they were last > at in the Wiki. > > I’m having trouble replicating this same functionality in Wiki5. I can > link to local files and get them to open for display. However, if you > close the file display it results in closing the Wiki. If you hit the > “back” button, it takes you back to the Wiki but it’s as if you just opened > it for the first time. >
You didn't provide any example of the syntax you used to create a "link to local file" in TW5, so it's not clear what you did, or why it didn't work the way you want. At present, TW5 external links are done by using standard HTML syntax, like this: <a href="path/to/filename.ext">text to click on</a> Under normal usage, this will open the linked file in the *current* window, replacing the loaded TW5 document. That is why pressing "back" reloads the TW5 document, but closing the window just, umm, closes the window. To get the behavior you want, you should write: <a href="path/to/filename.ext" target="_blank">text to click on</a> The "target" attribute tells HTML to open the requested URL (href) in a separate "blank" tab or window in your browser, rather than replacing the current document. Q.E.D. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios 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. For more options, visit https://groups.google.com/d/optout.

