It worked for Sticky Notes, but I am probably not smart enough to 
understand Eric's answer  :-(

I have added this part to my PageTemplate tiddler  (TWC 2.6.1)
<marquee behavior="scroll" scrollamount="3" direction="left" 
class='screenonly'>
 <a href="javascript:;" class="tiddlyLink tiddlyLinkExisting" refresh="link"
 tiddlylink="Sponsors" onclick="return onclickTiddlerLink();" >
 <img src="sponsor.jpg" width="72px" height="72px" /></a>
</marquee>

which correctly scrolls a bitmap from right to left.
When the image is clicked I would like the "sponsors" tiddler to open. What 
am I missing?



On Monday, January 28, 2013 11:21:20 PM UTC+1, Eric Shulman wrote:
>
>
> 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. 
>

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