How can I move a div element with javascript?
I can do this:
document.all["tussen"].style.top= 200
so it moves to 200, but what I want is to move it 200 pxs down. I want to do something like this:
document.all["tussen"].style.top+= 200
or
document.all["tussen"].style.top= document.all["tussen"].style.top + 200
or
var temp = document.all["tussen"].style.top
document.all["tussen"].style.top = (temp+200)
but these things dont work..
any id's?