Thanks a ton Eric! That was exactly want I needed to know!

I hate jumping straight to another probably overly simply question, but I 
spent a pretty good amount of time looking around the code thinking I was 
on the right track a couple times but have come up empty handy...

How would I make a new tiddler in the same circumstance? 

This should be the last pesky question from me for a while once I have this 
oen figured out I'll have finished off everything I really wanted to be 
able take care of.

On Monday, January 28, 2013 2:21:20 PM UTC-8, Eric Shulman wrote:
>
> > But why is when I look at TiddlyWiki in firebug and a wiki link shows up 
> as: 
> > <a href="javascript:;" title="test" class="tiddlyLink 
> tiddlyLinkExisting" 
> > refresh="link" tiddlylink="test">test</a> 
> > 
> > I can not than put this in a tiddler: 
> > <html> 
> > <a href="javascript:;" title="test" class="tiddlyLink 
> tiddlyLinkExisting" 
> > refresh="link" tiddlylink="test">test</a> 
> > </html> 
> > 
> > and have a working wikilink? Instead I just get a link that tries to 
> pull 
> > me away from the page to: "javascript:;" 
>
> Firebug isn't showing you the onclick="..." handler that is also 
> assigned to the tiddlyLink.  Try adding: 
>     onclick="return onclickTiddlerLink(event)" 
>
> onClickTiddlerLink() does the actual work of accessing the tiddler 
> specified by the tiddlylink="..." HTML attribute and then renders that 
> tiddler in the story column.  The onclick handler then finishes with 
> "return false", which causes the browser to bypass the 
> href="javascript:;" (which is a "null operation" anyway), preventing 
> the unwanted page transition. 
>
> enjoy, 
> -e 
> Eric Shulman 
> TiddlyTools / ELS Design Studios 
>
> HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... 
>    http://www.TiddlyTools.com/#Donations 
>
> 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to