Eric,

thanks for your solution.  It works perfectly but it took me a while
to figure out that I had to change EVERY "ScrollBox" tot
"ScrollBoxWithLink" (and not only the tiddlertitle...)

Wim

On 3 apr, 14:56, Tobias Beer <[email protected]> wrote:
> Hi Wim,
>
> You could also just use:
>
> @@display:block;height:150px;overflow:auto;<<tiddler [[some tiddler]]>>@@
>
> and then be able to...
> * place anything inside the scrollbox, not necessarily a tiddler macro call
> * place any links you want around it
>
> To be more generic, you could define css classes in your StyleSheet like so:
>
> .scroll150 {
>   display:block;height:150px;overflow:auto;
>
> }
>
> and then use:
>
> {{scroll150{<<tiddler [[some tiddler]]>>}}}
>
> From a usability perspective, reusing a grid is better than to be able to
> define any arbitrary height.
>
> So, you could eventually even do this in your StyleSheet:
>
> /*SLICES
> SCROLL:display:block;overflow:auto;height:
> */
> .scrollS {[[StyleSheet::SCROLL]]100px;}
> .scrollM {[[StyleSheet::SCROLL]]200px;}
> .scrollL {[[StyleSheet::SCROLL]]300px;}
> .scrollXL {[[StyleSheet::SCROLL]]400px;}
>
> Cheers, Tobias.

-- 
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