[Fwd: [Javascript] moving layers in NN 6]
Harry Love
hlove at u.washington.edu
Thu Oct 17 11:17:26 CDT 2002
<snip>
// IE
document.all.Layer1.style.pixelLeft += 10;
// NN 4.x
document.Layer1.x += 10;
// NN6.x
what about with it NN 6? i tried with offsetLeft but it seems like if
it's a read only property.
is there any documentation with the differences between NN 4.x & NN 6.x
and/or a list of
properties' use in NN 6.x?
</snip>
Manuel,
For NN6+, Mozilla, IE5.5+, try
document.getElementById("idOfYourElement").offsetLeft
For a list of differences, try searching Google for JavaScript browser
support/differences and the DOM.
Regards,
Harry
More information about the Javascript
mailing list