Keep vertical tabs in position when scrolling

116 views
Skip to first unread message

gemini0x4d

unread,
Jun 3, 2015, 5:31:08 AM6/3/15
to tiddl...@googlegroups.com
Hi

I'm pretty new to TW and I'm stunned by the possibilities! What an awesome tool!

I have a question regarding the tabs feature. I'm trying to keep track of team meeting protocols, so I created a tiddler for each meeting. I have one "overview" tiddler that uses vertical tabs to gather all protocols. Currently, I added a dedicated tag to each protocol (tm01012015, tm20032015, etc.) and create the overview tiddler just like this:


<<tabs "[tag[tm19052015]][tag[tm28042015]][tag[tm14042015]][tag[tm25032015]][tag[tm04032015]][tag[tm10022015]][tag[tm27012015]][tag[tm13012015]]" "[tag[tm27012015]]" "$:/state/tab1" "tc-vertical">>

I don't know if this is the most efficient way, but it works :-)

However, how can I achieve it that the vertical tabs on the left side stay in place, when I scroll the protocols? Is this possible?

Any comments on how I could implement such an overview tiddler in a more efficient way?

Thanks in advance for your help!

Kind regards,
Claus

Greg Davis

unread,
Jun 3, 2015, 10:53:58 AM6/3/15
to tiddl...@googlegroups.com
Hi,

Not quite sure if it will work with the way you are displaying your content, I was going to suggest using the Scrolling Widget http://tiddlywiki.com/#ScrollableWidget

Got a quick example at: https://dl.dropboxusercontent.com/sh/h8q01y5kygoyhch/AAB88H2CEZP_IAdzc1AJBYN8a/5-1-7_left-menu_custom.htm#TabbedGallery  see tabs Scroll Content 1 and 2

Hope that helped.
Greg

Mat

unread,
Jun 3, 2015, 3:04:01 PM6/3/15
to tiddl...@googlegroups.com
I'm pretty new to TW and I'm stunned by the possibilities! What an awesome tool!

Just make sure you spread the joy ;-)

<<tabs "[tag[tm ... 
I don't know if this is the most efficient way, but it works :-)

If (if!) all tags starting with "tm" are intended for tabs then there is definitely a more elegant way. Tell me if this is the case and I'll do some testing. It's really simple it's just that I would have to test it so I don't give the wrong instructions. 

Or perhaps you may want to check out the Table of Content macros (which would be more problematic for the vertical scrolling request tho)


However, how can I achieve it that the vertical tabs on the left side stay in place, when I scroll the protocols? Is this possible?

To understand your request, when you "scroll the protocols" do you mean scrolling the page scroll? Or which scroll?
 

<:-)
TWaddle.tiddlyspot

gemini0x4d

unread,
Jun 4, 2015, 4:22:25 AM6/4/15
to tiddl...@googlegroups.com
Hi Greg, Hi Mat,

thank you very much for your quick and informative replies!

I didn't know about the ToC option, which looks very interesting for another set of tiddlers I'm currently working with!

Greg's solution is pretty much what I need, I'm currently trying to "implement" it. ;-)

Best regards,
Claus 
Reply all
Reply to author
Forward
0 new messages