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

