Deeper levels in PopUp Menu by Saq Imtiaz

144 views
Skip to first unread message

DrCory

unread,
Sep 13, 2012, 6:35:29 PM9/13/12
to tiddl...@googlegroups.com
I have been using popup menus more and more. I find them a great way to navigate through my 1000+ tiddlers. One problem I have is that it only goes two levels deep. I can get a third and forth to display but they appear in the top left corner rather than attached to the popup as the norm.

Is there a work around or is there another popup that will let me dig deeper?

DrCory

whatever

unread,
Sep 14, 2012, 9:37:05 AM9/14/12
to TiddlyWiki
Hi!

Try Tobi's mod (1) of Saq's plugin. An example is also available (2).
See especially the first menu item (More).

(1) http://popup.tiddlyspace.com/
(2) https://dl.dropbox.com/u/2040050/group/2010.10.06%20popup%20saverio.html

w

Jan Johannpeter

unread,
Sep 14, 2012, 1:04:31 PM9/14/12
to tiddl...@googlegroups.com
Hello.
I would like to have a solution for the same Problem. Looking at the
example I believe this is not exactly what was meant in the question:
It would be nice if it was possible to define a fixed space on the
screen where the PopUp opens. Perhaps Erics ShowPopUpPlugin
http://www.tiddlytools.com/#ShowPopupPlugin is the solution
Here it is possible to define a css class for PopUps. I already tried
but due to the lack programming skills I failed.
Would it be possible to define a popup with position, something like:

<<showPopup tiddler:[[TiddlerName]] label:"Pop" tip:"..." buttonClass:"..." width:"..." popupClass: "specialPop" above>>


And in the Stylesheet

#specialPop {position:fixed; top:45px; left:10px;}

Does anyone get this to work?
Thanks Jan









this is not what was meant in the Question.

Tobias Beer

unread,
Sep 15, 2012, 9:01:18 AM9/15/12
to tiddl...@googlegroups.com
Hi DrCory,

Well, there's a new popup macro I have been wanting to publish for a few weeks now but didn't get to it. It's called SimplePopupMacro and you can find a demo version here: http://simplepopup.tiddlyspace.com

As for CSS, there is no meaningful standard yet. Most all custom css for now is in the tiddler StyleSheetSpace, but it's not clean at all. When you take a look with firebug, you will see that the css classes for nested popups count up, so you are able to style each level differently!

So, for now, I'm afraid you will have to do quite some fiddling with css to get the desired output, but perhaps the community will step in to get you there as I am way to busy for my tastes these days. Anyhow, if you develop any nice css markup to make the popups look pretty, please post them somewhere around here so I will stage them at the SimplePopup space.

Cheers, Tobias.

Jan Johannpeter

unread,
Sep 15, 2012, 5:41:16 PM9/15/12
to tiddl...@googlegroups.com
It would be nice if it was possible to define a fixed space on the screen where the PopUp opens.
In Erics ShowPopUpPlugin http://www.tiddlytools.com/#ShowPopupPlugin it is possible to define a css class for PopUps.

I definesd this in the stylesheet, because this space is reserved for my Menu:
/*FIXED POPUP---------------------------------------------------------------------------------------POPUP*/
#specialPop {position: fixed ! important;}
#specialPop {margin-top: 45px; margin-left: 10px;} 

This formulation of Erics Macro stays where it is normally.

<<showPopup tiddler:[[TiddlerName]] label:"Pop" tip:"..." buttonClass:"..." width:"..." popupClass: "specialPop" above>>

Tobias Version on http://simplepopup.tiddlyspace.com/
<<pop
    Körper
    Körper
    popClassOnce:'specialPop'
    tooltip:'test.'
>>
delifers a nice result but also in the same space.
It also seems to have a mouseover-behaviour by default, and vanishes when leaving.


So booth approaches do not work. Do they fail due to the syntax or is a defined position not supported by the Plugins?

Thanks for help Jan
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/pSi1z8giOSoJ.
To post to this group, send email to tiddl...@googlegroups.com.
To unsubscribe from this group, send email to tiddlywiki+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

Am 14.09.2012 19:04, schrieb Jan Johannpeter:
Hello.
I would like to have a solution for the same Problem. Looking at the example I believe this is not exactly what was meant in the question:
It would be nice if it was possible to define a fixed space on the screen where the PopUp opens. Perhaps Erics ShowPopUpPlugin http://www.tiddlytools.com/#ShowPopupPlugin is the solution
Here it is possible to define a css class for PopUps. I already tried but due to the lack programming skills I failed.
Would it be possible to define a popup with position, something like:

<<showPopup tiddler:[[TiddlerName]] label:"Pop" tip:"..." buttonClass:"..." width:"..." popupClass: "specialPop" above>>


And in the Stylesheet

#specialPop {position:fixed; top:45px; left:10px;}

Does anyone get this to work?
Thanks Jan


 this is not what was meant in the Question.
Am 14.09.2012 15:37, schrieb whatever:
Hi!

Try Tobi's mod (1) of Saq's plugin. An example is also available (2).
See especially the first menu item (More).

(1) http://popup.tiddlyspace.com/
(2) https://dl.dropbox.com/u/2040050/group/2010.10.06%20popup%20saverio.html

w


On 14 sep., 00:35, DrCory <drcor...@gmail.com> wrote:

Tobias Beer

unread,
Sep 16, 2012, 2:53:04 PM9/16/12
to tiddl...@googlegroups.com, lasjo...@googlemail.com
@Jan,

Sorry, didn't fully read the original post.

Yes, SimplePopup is intended to work on mouseover and (currently) I intend for it to stay that way due to the simple fact that the thing that triggers the popup can be a TiddlyLink as well. But I believe, clicking is also supported, but if you want that, you should not make use of the 'tiddler' parameter.

It seems this approach doesn't make for a mobile friendly ui, I guess. Anyone have a simple idea to provide for a touch-friendly version that still allows to also open the link defined for the button that opens the popup? For now, touch-clicking kinda  works if you only click on the little ">" but not on the title.

Lastly, I think I can provide an option to prevent the popup(s) form closing when the mouse leaves the stack. However, that needs some more fiddling, as I sure want popups to close when I hover some sibling that fires a popup. So you can move inside the stack for it to change, but you have the option to keep the stack when you leave it altogether.

Tobias.

DrCory

unread,
Sep 22, 2012, 8:08:34 AM9/22/12
to tiddl...@googlegroups.com
Thanks Gentlemen, this looks like what I need! (simplepopup)

DrCory
Reply all
Reply to author
Forward
0 new messages