On Thursday, July 9, 2020 at 2:09:43 AM UTC-7, Adithya B M wrote:
>
> The tiddler is longer than one viewport.
> I am currently stuck at how to "do" something when the toolbar button is 
> clicked. Are there any tutorials about this?
>

I did my experimenting with a CSS-based solution... and have it working and 
have posted it on my site:

   http://tiddlytools.com/autoscroll.html

Rather than add a toolbar item to each tiddler,
I created a "viewer" tiddler named "AutoScroller".
It provides a form that lets you:

   - select a tiddler to view
   - enter a duration for the scrolling
   - press "start" button to begin scrolling
   - press "stop" button to pause scrolling
   - press "reset" button to return to top of content
   - press "clear" button to reset selection and duration

Below the form is a display area that shows the selected tiddler's content 
in a scrollable area.
At the bottom is some debugging output that shows the CSS that is being 
used.

Give it a try and let me know what you think.

enjoy,
-e

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6b37af96-997f-46ef-9cf5-2988c0ec7591o%40googlegroups.com.

Reply via email to