I found my document, and realized that I had actually completely fixed it there. Not sure why I didn’t upload it. Here you go:
Tooltips and http://scripty.walterdavisstudio.com/tooltips/tooltips.zip
This works fine with overflow hidden or visible, because everything is moved out into the PageDiv, last in source order, and set to a very high z-index. Ah, wait, no, now that I think about it, this still won’t work if the page is resized. That must be why I didn’t upload it.
Well, food for thought anyway.
Walter
On Jun 26, 2012, at 5:32 PM, Walter Lee Davis wrote:
The way they currently work, they wrap the link with a span set to position:relative, then position the tooltip absolutely respective to that element. So it really doesn’t matter much where they appear in the document, although this overflow wrinkle has convinced me that I need to work harder on changing the basic premise.
In a “move everything to an overlay” approach, the elements would be positioned relative to their original parent, but using Prototype’s Element.cumulativeOffset() method to recreate the origin point within the overarching overlay. This would not respect a screen resize, so it would have to be run in a method that could be called whenever the window:resize event fired, too. None of this is enormously difficult, but it is not simple, either.
Walter
On Jun 26, 2012, at 5:22 PM, Ernie Simpson wrote:
I’ve not ventured into this territory yet, but am curiously following it.
Do these tooltips respect css positioning? ( relative, absolute, etc )?
–
Ernie Simpson
On Tue, Jun 26, 2012 at 4:54 PM, Walter Lee Davis email@hiddenwrote:
Yeah, this is a problem that I haven’t worked out yet. I think I started
working on moving all of the tooltips into a new z-index: 1000 layer over
the entire page, but then I may have put it aside for later. I’ll see if I
can dig up the work again. This is non-trivial stuff, particularly if you
want to ensure that a tooltip respects the edges of the browser window.
Walter
On Jun 26, 2012, at 4:49 PM, OmarKN wrote:
try again …
Me thinks it has to do with the OVERFLOW: HIDDEN setting of the PARENT
layer/ DIV, in m y case (as it should be in an inline structure) the
containing row.
http://mac.abc.se/home/onesr/frw/06/main2.html
Instances 1 and 2 work (OVERflOW : VISIBLE; against the rule)
Instance3 is OK (OVERflOW : HIDDEN) because there is enough space above,
which is not in
Instance4a …
So this is how it is right now,
if Walter doesn’t venture along with his magic staff …
bw/ Omar K N
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options