As I wrote allready: your code is terribly hard to read, because of missing indentation. No solutions - Just some hints.
On Sep 12, 4:00 pm, whatever <[email protected]> wrote: > Here are the problems for the command: > 1. The popup is quite wide and the position isn't adjusted, so some of > it is off-screen. The popup div is created with absolut positioning. The "top" and "left" styles are set near the command buttons position. You'll need to overwrite "top/left" after you calculated the real div's width. (google search: mdn div width calculation) may find something. mdn is https://developer.mozilla.org/en-US/ > 2. Clicking on the popup closes it (but not if you select some text). > I only want it to close when I click off it. I did a short test with a standard popup like "fields" button, which has the exact same behaviour. So it seems to be inherited from the core popup macro. It may also depend on the browser you are using. (I did test with FF15 ubuntu). You'll probably need to hijack the core popup close function. > 3. How do I put other popups on this popup? Because when there is more > than one infobox, I want the root popup to output the buttons, not the > actual tables I think Eric figured it out. Borrow from nested sliders plugin ;) > This problem occurs in the body: > 4. In order to hide the DIV with the table, you first need to click on > it twice. After that show/hide works on every click. There is some code like {{{event.stopPropagation();}}} which stops mouse events from bubbling. May be there is some "wrong initialisation" when buttons are created. -mario -- 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.

