[JavaScript] getting position

Chris T christ at saeweb.com
Tue Jun 22 10:39:40 CDT 2004


Actually, the code I sent in the previous email works fine in both IE and
Mozilla browsers and doesn't make use of layers. I guess an older version of
NN would probably require that.

Chris Tifer

----- Original Message ----- 
From: "Laurent Muchacho" <LaurentM at london.virgin.net>
To: "'[JavaScript List]'" <javascript at LaTech.edu>
Sent: Tuesday, June 22, 2004 11:26 AM
Subject: RE: [JavaScript] getting position


> Hi Chris,
>
> Yes it will work even nested into an other element in IE.
> If you interested in NS I never tested it. But I guessed if you want to
get
> an element who is nested you must do something like that
> document.layers['parentid'].document.layers['yourid']
> <div id="parented" name="parented">
> <div id="yourid" name="yourid">whatever</div>
> </div>




More information about the Javascript mailing list