[Javascript] DIV in a DIV

Muchacho, Laurent (TWIi London) LMuchacho at twii.net
Tue Aug 28 04:35:39 CDT 2001


Hi Felix
 
I think you can have a try with that
 
document.parentLayer.document.childLayer.propertyName
 
I Think it will work 

[Muchacho, Laurent (TWIi London)] 
 
http://www.dansteinman.com/dynduo <http://www.dansteinman.com/dynduo> 
 
 
 -----Original Message-----
From: Felix [mailto:bruno.lanciau at cnes.fr]
Sent: 28 August 2001 09:42
To: javascript at latech.edu
Subject: [Javascript] DIV in a DIV



Here is my problem: (no problem with IE but with Netcape 4+)
 
I have got one div in an other div:
 
<DIV ID="boite1" style= "position: absolute;visibility:visible; top: 210px;
left : 10px; width: 500px; height: 80px; z-index:1 ;clip:rect(0,600,70,0) ;
"> 
 
 
<DIV ID="boite2" style="position: absolute;visibility:visible; top: 5px;
left : 1px;   width: 500px; height:100px; z-index:2
;clip:rect(0,600,200,0);">
 
.......
 
</DIV>
</DIV>
 
In a function 
    document.boite1.width=600; 
 
// Is OK, but how to do the same with boite2 ?
Neither  document.boite2.width=600 nor document.boite1.boite2.width=600 are
OK !
 
Thank you for help
 
Felix
 
    


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010828/acdc636a/attachment.htm>


More information about the Javascript mailing list