how can i find and html element position(does really no body know?)
-
i wrote this message 3 days ago. but i have no answer. does really nobody know? if yes, so how so many menu is created? but i suppose that nobody read my message. so i repeate it. i want to simulate a menu with two div elemen. one for father node which its position is no absolute and placed in an table cell. another div is my menu body. i should find the position of first div (top, left) and then set the position of second div. i check style.top, style.left, all["div1"].style.top, all["div2"].style.left,... but i don't have any resault. how can i find the first div position in the browser window? thanks rastgar
-
i wrote this message 3 days ago. but i have no answer. does really nobody know? if yes, so how so many menu is created? but i suppose that nobody read my message. so i repeate it. i want to simulate a menu with two div elemen. one for father node which its position is no absolute and placed in an table cell. another div is my menu body. i should find the position of first div (top, left) and then set the position of second div. i check style.top, style.left, all["div1"].style.top, all["div2"].style.left,... but i don't have any resault. how can i find the first div position in the browser window? thanks rastgar