P
PJ6
On doubleclick of a table cell, I want to pop up a menu just under it. Right
now I've only figured out how to get the cursor position, I'd like whatever
element that pops up to be directly under the cell... can't seem to get a
workable left or height value.
Also, I've found 2 methods for hiding elements - one is to set the innerHTML
of a placeholder to different items in hidden divs, the other is to
physically move elements to negative coordinates. I'm leaning towards the
second solution because it's the simplest, and my menus need to float over
existing elements anyway. Will using negative coordinates to hide elements
work OK in most browsers?
TIA,
Paul
now I've only figured out how to get the cursor position, I'd like whatever
element that pops up to be directly under the cell... can't seem to get a
workable left or height value.
Also, I've found 2 methods for hiding elements - one is to set the innerHTML
of a placeholder to different items in hidden divs, the other is to
physically move elements to negative coordinates. I'm leaning towards the
second solution because it's the simplest, and my menus need to float over
existing elements anyway. Will using negative coordinates to hide elements
work OK in most browsers?
TIA,
Paul