On 9/22/2011 11:58 PM, Eric Shulman wrote:
Just a quick question. Is it possible to have a separate frame for the
tiddlers, so that when scrolling down the tiddlers the side bar can be
kept on screen? I looked through quite a few themes but none of them
can do that.
Add this *transclusion* (not plugin) to your document:
http://www.tiddlytools.com/#ToggleScrollingSidebars
It provides a checkbox to toggle the CSS on the sidebars to add/remove
the "position:fixed" property. Note that, if the list of tiddlers
exceeds the display height (a common occurrence), you won't be able to
see the rest of the tiddler titles because the sidebar contents won't
move when you scroll the whole page. To address this,
ToggleScrollingSidebars also adjusts the sidebar tabs display to use
fixed height and add a scrollbar (as needed) when "position:fixed" is
enabled. In addition, ToggleScrollingSidebars tracks your choice in a
TW option setting (config.options.chkScrollSidebars), so that the
setting persists across sessions, as you would expect.
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
----
TiddlyTools needs your support... make a donation today!
http://www.TiddlyTools.com/#Donations
Professional TiddlyWiki Consulting Services:
http://www.TiddlyTools.com/#Contact
Hi Eric,
I just noticed a small problem of the Togglescrollingsidebars
transclusion. When the displayed area is scrolled down, the popup menu
in the sidebar does not show up at the correct position.
Changing the following line in stylesheetlayout
.popup {position:absolute; z-index:300; font-size:.9em; padding:0;
list-style:none; margin:0;}
to
.popup {position:fixed; z-index:300; font-size:.9em; padding:0;
list-style:none; margin:0;}
solves the bug.
I known little about CSS and javascript. So there must be some better
way to fix. Anyway, thank you so much for your help.
regards, Lu
--
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.