Hi RunningUtes

> Is there an equivalent method similar to
story.displayTiddler(null,'TiddlerName'); in TW5?

Not precisely; the way to open a tiddler with an HTML anchor link is to use
a permalink like so:

<area shape="rect" coords="159,82,230,154" href="#TiddlerName"/>

>  <area shape="rect" coords="159,82,230,154"
href="javascript:story.displayTiddler(null,'TiddlerName');"/>

It's actually a bug that javascript URLs work in HTML anchor links. The
goal is to filter out all executable Javascript. Otherwise we'd have a
major security obstacle to sharing tiddler content: any wikitext tiddler
could contain malicious JS that steals your data.

I've created a ticket:

https://github.com/Jermolene/TiddlyWiki5/issues/1350

Best wishes

Jeremy.


On Wed, Jan 7, 2015 at 8:45 PM, RunningUtes <[email protected]> wrote:

> I have it working under TWc, just not under TW5. Is there an equivalent
> method similar to
>
> story.displayTiddler(null,'TiddlerName');
>
> in TW5?
>
>
> On Wednesday, January 7, 2015 12:34:21 AM UTC-8, Tobias Beer wrote:
>>
>> Hi c pa,
>>
>> Perhaps not the most intuitive example in terms of where to click. ^^
>>
>> And then there is this on win / chrome...
>>
>>
>> <https://lh4.googleusercontent.com/-04cEPdOmr60/VKzvIC2XxhI/AAAAAAAABvo/j9b3J_VFGsw/s1600/nope.jpg>
>>
>> Mostly, though, this bit is TWc code...
>>
>> story.displayTiddler(null,'TiddlerName');
>>
>> ...which doesn't work in TW5.
>>
>> Best wishes, Tobias.
>>
>  --
> 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.
>



-- 
Jeremy Ruston
mailto:[email protected]

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

Reply via email to