Hi,
I´m looking for a script to move several objects at the
same time at slow speed. To move 1 object is no problem. But I can´t manage to move more.
Anybody´s got an idea or a script?
well, then u shuld use loop:
smth like this:
var movinobjs=new Array("l1","l2","l3"//<--id's of ur layers
for (var ii=0; ii<movinobjs.length; ii++){
var temp=eval("document.all."+movinobjs[ii]+".style"
temp.left-=10
}
Sorry, can´t manage that.
I´v got a script here which works with one layer. I did a
workaround using a timout; but that´s not what I want.
Maybe you could help me with this one:
// Here we define the movable object
Bild1 = new movableObj(-300,-150,150,100,20,20,"bild1"
Bild2 = new movableObj(300,-150,300,100,20,20,"bild2"
Bild3 = new movableObj(900,-150,450,100,20,20,"bild3"
Bild4 = new movableObj(1200,-150,600,100,20,20,"bild4"
// -->
</script>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.