Hey all,

I've been messing with my tiddlywiki layout to have scroll-bars for
the various bits (sidebar, mainmenu etc.).

Unfortunately, I ran into a little issue.  I used to use the
CoreTweaks plugin (specifically 784 allow tiddler sections in
TiddlyLinks to be used as anchor points for intra-tiddler scrolling)
to allow me (with an slightly modified version of TiddlerToCPlugin to
output sections links) to enable jumping to specific headers in a
tiddler by clicking on the table of contents.

Unfortunately with my new layout this no longer works.  I've had a
look at CoreTweaks and believe the issue is with the line:

setTimeout('window.scrollTo(0,'+findPosY(e)+')',delay);

After my layout changes, the main window (if I understand this
correctly) no longer scrolls.  Instead the .viewer div area does by
setting a height and overflow:auto.

I assume I need to use the scrollTo method on this div instead,
however I'm not sure how to get the id for the viewer DOM object for
the current tiddler.

I'm slowly getting my head round Javascript, CSS and the like, but
rather than digging around for ages - thought I would try to get some
input first.

Thanks in advance,

James
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to