[Fwd: [Javascript] moving layers in NN 6]

Harry Love hlove at u.washington.edu
Mon Oct 21 23:58:12 CDT 2002


Manuel,

Can you post a sample of your code with the problematic element?  Or better yet, a URL?

Harry

> Harry Love wrote:
> 
> > ...
> > Manuel,
> > For NN6+, Mozilla, IE5.5+, try
> > document.getElementById("idOfYourElement").offsetLeft
> 
> i tried it but the layer doesn't move!
> 
> document.getElementById("Layer1").offsetLeft -= 10;
> 
> even though
> 
> alert(document.getElementById("Layer1").offsetLeft);
> 
> returns the correct layer's initial position
> 






More information about the Javascript mailing list