www.adobe.com has a set of menus that popdown when there's a mouseover,
positioned nicely below the buttons shown. However, they use absolute
postitioning ... is there a way to do such positioning on any arbitrary
element that might show up anywhere in a page, not knowing the actual pixel
location?
Pretend I make an element "display: none" in css. It no longer affects layout
and might as well not exist, but what if I could make it still visible? It
would float above everything else as if it were absolutely positioned where it
would normally be in the flow of the document. Thus, if the document wraps
differently and moves around on another browser, it will always float "above"
the document without the document's layout.
Can this be done?
Alternatively, is there a way, using javascript or whatever, to find the
location of an element on a page so that a popup can be placed there? I know
that I have access to the mouse's coordinates when a user moves over an
element, so that would be "close" to the element, but I wouldn't know where to
place the div without just making it look like a tooltip.
--
eth'nT
http://www.hydrous.net
aim: courtarro