c q
05-08-2003, 02:31 PM
hey !
decided to make my own text scroller script....err...again wid a lill help :D
for da moment, just got one doubt. how can javascript tell me the exact position of an object on the page ?
say I have an object called container1
I tries using
document.all.container1.style.position
but no success.
document.all.container1.style.position.top
document.all.container1.style.position.left
still no success. I did refer the manual. But dint find any such thing. any clues about this ?
decided to make my own text scroller script....err...again wid a lill help :D
for da moment, just got one doubt. how can javascript tell me the exact position of an object on the page ?
say I have an object called container1
I tries using
document.all.container1.style.position
but no success.
document.all.container1.style.position.top
document.all.container1.style.position.left
still no success. I did refer the manual. But dint find any such thing. any clues about this ?