Hello, For anyone who wants to use it, you can find it here: > https://szenio.de/Grid/#Scrolltotop > <https://www.google.com/url?q=https%3A%2F%2Fszenio.de%2FGrid%2F%23Scrolltotop&sa=D&sntz=1&usg=AFQjCNGdYuAiu5417ZRxpoxSFoH8Fnevgw> >
It works great, thanks for sharing Jan! It would be nice to have this action implemented on opening a tiddler in the zoomin story view and as part of any other single tiddler mode(s) that could be introduced in the future. But that's a discussion for a different thread. Thanks again! Hubert On Monday, 27 April 2020 11:09:55 UTC+1, Jan wrote: > Hallo Saq, > heureka, it works. > For anyone who wants to use it, you can find it here: > https://szenio.de/Grid/#Scrolltotop > > Thanks a lot Saq! > > PS.: > Encouraged by this success it would be great generalize the function > enabeling the widget to scroll to an id that is given as a param. > Perhaps we manage that also. > > > > Am 27.04.2020 um 00:19 schrieb Saq Imtiaz: > > Open the browser developer tools and the console. Do you see any error > messages when loading your wiki? I would expect you to. > > > > Your refresh method is not valid JavaScript. You can actually just > remove it entirely. Remove the refresh method. It will inherit from the > widget base class and that will be enough in this case. Make sure the > tiddler has the correct type for JavaScript and module-type widget. > > > > If it still doesn't work post your new code and the code for the button > being used to trigger this. I'm currently not at a computer so that's the > best I can do for now, hope that helps. > > > > -- 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/8a099897-c647-4868-9cb4-faad6a3574e9%40googlegroups.com.

