PDA

View Full Version : help with making my scroller script


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 ?

liorean
05-08-2003, 04:14 PM
See this thread:<http://codingforums.com/showthread.php?s=&threadid=19404&highlight=determine+position>.

c q
05-09-2003, 10:51 AM
dint seem to work. I got an output like "object, Object" yea those exact words without any numbers or anything.
isn't there any one line command for this ??

chrismiceli
05-09-2003, 01:44 PM
what code are you trying?
Show us how you are using it.