Click to See Complete Forum and Search --> : Moving layers with javascript


Tokkie
September 8th, 2004, 03:25 PM
Is there a possibility to make layers (with a picture in it) move across an html page with javascript?

I just can't seem to be able to adress the layer.

If my layer is called "LayerNL", shouldn't something happen when i use document.layers["LayerNL"].moveTo(300,200); ?

I have 3 images that I want to move from the top of the page to the center (in about 2 seconds time) when the page loads.

I've been looking for this on the internet for 2 hours now but i can't figure it out!

Any one knows this?

Thanx, Tom.