shlagish
06-08-2003, 04:03 AM
img.style.posTop = Math.floor(img.style.posTop)
I think this doesn't work, that it doesn't floor the number correctly....
What do you think?
Now that I think of it, document.write(img.style.posTop) doesn't work either.... How can I operate on the position of an object using Javascript? (I've tried top instead of posTop to no result)
I think this doesn't work, that it doesn't floor the number correctly....
What do you think?
Now that I think of it, document.write(img.style.posTop) doesn't work either.... How can I operate on the position of an object using Javascript? (I've tried top instead of posTop to no result)