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