By the way, what you have done here also should be applicable to your
TagSearchPlugin/QuickOpenTagPlugin combo (when you use the down arrow
to display a list of tiddlers with a certain tag).

On Oct 6, 12:56 pm, Tobias Beer <beertob...@googlemail.com> wrote:
> Hi Saverio,
>
> Let me tell you, this was not pretty ...although the result is. ;o)
>
> After hours of pulling my hair out over infinite loops and rethinking
> on how to best rewrite Saq's code from scratch, I've got the baby
> working the way you initially hoped... meaning: click-toggle as deeply
> nested as you want.
>
> Now, I have changed the code quite a bit in that there no longer are
> any id's given to popups. Instead it's all (!) classes and what's
> more... they count up nicely!!!
>
> There are new parameters:'defaultValue' ...namely:
> arrow:'\u25BC'
> popClass:'popup'
> btnClass:'popbutton'
>
> When popups and buttons are created they not only get those classes
> assigned but depending on their nesting level they also get...
>
> level1: popup1 / popbutton1
> level2: popup2 / popbutton2
> etc...
>
> ...whereas if you defined popClass as myPopup, then it would be
> myPopup1, myPopup2, etc...
>
> That way you can have one nested popups thingy that is horizontal and
> another one being vertical and you can easily style the different
> levels via css as I have done in your document reuploaded here [1].
>
> The arrows are now in their own container floating to the right with a
> classname of "poplevel". Having those as a parameter allows you to
> have different arrows for different nesting levels.
>
> Note that all styles should be put into StyleSheetPopup.
>
> I will later on release the thing ... maybe with hover again, if I get
> that to work properly.
>
> Cheers, Tobias.
>
> [1]http://dl.dropbox.com/u/2040050/group/2010.10.06%20popup%20saverio.html

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to