Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] DIV in a DIV
- From: javascript@xxxxxxxxxx (Felix)
- Subject: [Javascript] DIV in a DIV
- Date: Tue, 28 Aug 2001 10:41:33 +0200
C'est un message de format MIME en plusieurs parties.
------=_NextPart_000_00B3_01C12FAE.0141F7C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Here is my problem: (no problem with IE but with Netcape 4+)
I have got one div in an other div:
<DIV ID=3D"boite1" style=3D "position: absolute;visibility:visible; top: =
210px; left : 10px; width: 500px; height: 80px; z-index:1 =
;clip:rect(0,600,70,0) ; ">=20
<DIV ID=3D"boite2" style=3D"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=20
document.boite1.width=3D600;=20
// Is OK, but how to do the same with boite2 ?
Neither document.boite2.width=3D600 nor =
document.boite1.boite2.width=3D600 are OK !
Thank you for help
Felix
=20
=20
------=_NextPart_000_00B3_01C12FAE.0141F7C0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Here is my problem: (no problem with IE =
but with=20
Netcape 4+)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have got one div in an other =
div:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><DIV ID=3D"boite1" style=3D =
"position:=20
absolute;visibility:visible; top: 210px; left : 10px; width: 500px; =
height:=20
80px; z-index:1 </FONT><FONT face=3DArial =
size=3D2>;clip:rect(0,600,70,0) ;=20
"></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><DIV ID=3D"boite2" =
style=3D"position:=20
absolute;visibility:visible; top: 5px; left : =
1px; =20
width: 500px; height:100px;</FONT><FONT face=3DArial size=3D2> z-index:2 =
;clip:rect(0,600,200,0);"></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>.......</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2></DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></DIV></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>In a function </FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =
document.boite1.width=3D600;=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>// Is OK, but how to do the same with =
boite2=20
?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Neither </FONT> <FONT =
face=3DArial=20
size=3D2>document.boite2.width=3D600 nor =
document.boite1.boite2.width=3D600 are OK=20
!</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Thank you for help</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Felix</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> </FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2> <BR></FONT></DIV></BODY></HTML>
------=_NextPart_000_00B3_01C12FAE.0141F7C0--
- Prev by Date: [Javascript] Form value
- Next by Date: [Javascript] DIV in a DIV
- Previous by thread: [Javascript] Form value
- Next by thread: [Javascript] DIV in a DIV
- Index(es):