What i am trying to do, in theory is fairly simple. I have a div:
And i simply need to get the value of top...i had assumed something likeCode:#MyDiv { top:13px; }would work but it doesnt seem toCode:top = parseInt(document.getElementById("MyDiv").style.top);
Any help is much appreciated - im sure its something simple.


Reply With Quote
Bookmarks