Re: get absolute position

You normaly get the absolute position with referencing

document.layers.pos.style.left
document.layers.pos.style.left

that works fine

does someone know hot to get absolute position of a relative div. If you query the above .left and .top params, you get an empty or undefined.

I need this to dynamicly position otherwise absolute div, who's position depends on a relative one (-s).



TheBoogie

Received on Friday, 20 February 2004 07:23:12 UTC