I hacked the nestedSlidersPlugin a little by adding the 2 lines at the end
in this part of it:
// adjust floating panel position based on button position
...
if (place.style.position!="relative") {
var left=findPosX(btn);
var top=findPosY(btn)+btn.offsetHeight;
var p=place; while (p && !hasClass(p,'floatingPanel')) p=p.parentNode;
if (p) { left-=findPosX(p); top-=findPosY(p); }
if (left+panelWidth>rightEdge) left=rightEdge-panelWidth;
if (left<0) left=0;
var mod=top/1.005;
top=top-mod+90;
}
which gets the floating panel in the ball park near the button regardless
of how many other tiddlers are open now, except for it doesn't work well
when the button is low down within the tiddler (as opposed to low in the
page)
I'll keep looking - maybe there's a variable that indicates the height of
the current tiddler I can throw into the formula...
On Saturday, July 28, 2012 4:38:26 AM UTC-6, G.J.Robert wrote:
>
> @Dave The element of the NestedSlider popups should be floatingPanel, not
> "popup"~
>
> Could Eric or someone who may have a clue check the source of
> NestedSliderPlugin?
>
> PMario於 2012年6月14日星期四UTC+8上午1時00分52秒寫道:
>>
>> On Jun 13, 5:32 pm, Dave <[email protected]> wrote:
>> > I'm pretty sure it has something to do with StyleSheetTiddlySpace
>> because
>> > when I remove the "system-theme" from the included spaces list the
>> problem
>> > goes away (but then so does the cool looking theme).
>> Yea,
>> The plugin was developed to be used with vanilla TiddlyWiki. So I
>> think, there is something wrong with the "top / left" pupup
>> calculation.
>> @eric
>> can you jump in?
>>
>> -m
>
>
--
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/-/QwpJsUXhzD0J.
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.