Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] DIV in a DIV
- From: javascript@xxxxxxxxxx (Muchacho, Laurent (TWIi London))
- Subject: [Javascript] DIV in a DIV
- Date: Tue, 28 Aug 2001 10:35:39 +0100
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C12FA4.CA80F2F8 Content-Type: text/plain; charset="iso-8859-1" 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@xxxxxxx] Sent: 28 August 2001 09:42 To: javascript@xxxxxxxxxx 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 ------_=_NextPart_001_01C12FA4.CA80F2F8 Content-Type: text/html; charset="iso-8859-1" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META content="MSHTML 5.00.3207.2500" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=762293309-28082001>Hi Felix</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=762293309-28082001></SPAN></FONT> </DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=762293309-28082001>I think you can have a try with that</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=762293309-28082001></SPAN></FONT> </DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=762293309-28082001>document.parentLayer.document.childLayer.propertyName</SPAN></FONT></DIV> <DIV><SPAN class=762293309-28082001></SPAN><FONT face=Tahoma></FONT> </DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=762293309-28082001>I Think it will work </SPAN></FONT></DIV> <DIV><FONT face=Tahoma><BR><FONT size=2><SPAN class=762293309-28082001><FONT color=#0000ff face=Arial>[Muchacho, Laurent (TWIi London)] </FONT></SPAN></FONT></FONT></DIV> <DIV><FONT face=Tahoma><FONT size=2><SPAN class=762293309-28082001></SPAN></FONT></FONT> </DIV> <DIV><FONT color=#0000ff face=Arial size=2><A href="http://www.dansteinman.com/dynduo">http://www.dansteinman.com/dynduo</A></FONT></DIV> <DIV><FONT face=Tahoma><FONT size=2><SPAN class=762293309-28082001></SPAN></FONT></FONT> </DIV> <DIV><FONT face=Tahoma><FONT size=2><SPAN class=762293309-28082001></SPAN></FONT></FONT> </DIV> <DIV><FONT face=Tahoma><FONT size=2><SPAN class=762293309-28082001> </SPAN>-----Original Message-----<BR><B>From:</B> Felix [mailto:bruno.lanciau@xxxxxxx]<BR><B>Sent:</B> 28 August 2001 09:42<BR><B>To:</B> javascript@xxxxxxxxxx<BR><B>Subject:</B> [Javascript] DIV in a DIV<BR><BR></DIV></FONT> <BLOCKQUOTE style="MARGIN-RIGHT: 0px"></FONT> <DIV><FONT face=Arial size=2>Here is my problem: (no problem with IE but with Netcape 4+)</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I have got one div in an other div:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2><DIV ID="boite1" style= "position: absolute;visibility:visible; top: 210px; left : 10px; width: 500px; height: 80px; z-index:1 </FONT><FONT face=Arial size=2>;clip:rect(0,600,70,0) ; "></FONT> </DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2><DIV ID="boite2" style="position: absolute;visibility:visible; top: 5px; left : 1px; width: 500px; height:100px;</FONT><FONT face=Arial size=2> z-index:2 ;clip:rect(0,600,200,0);"></FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>.......</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2></DIV></FONT></DIV> <DIV><FONT face=Arial size=2></DIV></FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>In a function </FONT></DIV> <DIV><FONT face=Arial size=2> document.boite1.width=600; </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>// Is OK, but how to do the same with boite2 ?</FONT></DIV> <DIV><FONT face=Arial size=2>Neither </FONT> <FONT face=Arial size=2>document.boite2.width=600 nor document.boite1.boite2.width=600 are OK !</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Thank you for help</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Felix</FONT></DIV> <DIV><FONT face=Arial size=2> </FONT></DIV> <DIV><FONT face=Arial size=2> <BR></FONT></DIV></BLOCKQUOTE></BODY></HTML> ------_=_NextPart_001_01C12FA4.CA80F2F8--
- Prev by Date: [Javascript] DIV in a DIV
- Next by Date: [Javascript] headache: Div resize
- Previous by thread: [Javascript] DIV in a DIV
- Next by thread: [Javascript] headache: Div resize
- Index(es):