A
amos
Hi
I'm experiencing a real nasty thing about dotnet.
I've made a big application in dotnet and I would like
to use ILAYERS for netscape 4.
You CAN NOT USE Layers and Form buttons in Netscape 4
if you save your page in .aspx
Try to save the following code in .html and in .aspx
then look at those two pages in Netscape 4 :
<script language=javascript>
function ChangeIntitule()
{
if (document.Form1.Origine.selectedIndex==0)
stringX="";
if (document.Form1.Origine.selectedIndex==1)
stringX="Exemple: '1992-1998 : Ecole supérieure d'art dramatique de Paris'";
if (document.Form1.Origine.selectedIndex==2)
stringX="Exemple: '2002 : Sara Pearson, Patrik Widrig (Contact Improvisation)'";
if (document.Form1.Origine.selectedIndex==3)
stringX="Exemple: '2003 : Cinéma - Film Snatch - figuration 3 jours'";
if (document.Form1.Origine.selectedIndex==4)
stringX="Exemple: 'Mime', 'Pianiste', 'Trapeziste', etc..";
if (document.Form1.Origine.selectedIndex==5)
stringX="Exemple: 'yoga', 'photographie', 'sculpture', etc..";
if (document.layers){
document.countdownnsmain.document.countdownnssub.document.write(stringX);
document.countdownnsmain.document.countdownnssub.document.close();
}
else if (document.all||document.getElementById)
crosscount.innerHTML=stringX;
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<form name=Form1>
<select name="Origine" id="Origine" class="letras" onchange="ChangeIntitule();">
<option value="-1">Choisissez une rubrique</option>
<option value="0">Etudes / Formation Artistique</option>
<option value="1">Stage / Séminaire</option>
<option value="2">Expérience professionnelle</option>
<option value="3">Activité Artistique</option>
<option value="4">Loisirs</option>
</select><input type=text name=sqdf>
</form>
<form name=qsd>
<ilayer id="countdownnsmain" width=300; height=50; visibility=show>
<layer id="countdownnssub" width=300; height=50; left=0 top=0> </layer>
</ilayer>
</form>
You'll see that all the codes that you wrote for Netscape4 whith
the ILAYERS don't work if you save the page as .aspx.
IS THIS A HUGE BUG OF DOT NET ????????
I'm experiencing a real nasty thing about dotnet.
I've made a big application in dotnet and I would like
to use ILAYERS for netscape 4.
You CAN NOT USE Layers and Form buttons in Netscape 4
if you save your page in .aspx
Try to save the following code in .html and in .aspx
then look at those two pages in Netscape 4 :
<script language=javascript>
function ChangeIntitule()
{
if (document.Form1.Origine.selectedIndex==0)
stringX="";
if (document.Form1.Origine.selectedIndex==1)
stringX="Exemple: '1992-1998 : Ecole supérieure d'art dramatique de Paris'";
if (document.Form1.Origine.selectedIndex==2)
stringX="Exemple: '2002 : Sara Pearson, Patrik Widrig (Contact Improvisation)'";
if (document.Form1.Origine.selectedIndex==3)
stringX="Exemple: '2003 : Cinéma - Film Snatch - figuration 3 jours'";
if (document.Form1.Origine.selectedIndex==4)
stringX="Exemple: 'Mime', 'Pianiste', 'Trapeziste', etc..";
if (document.Form1.Origine.selectedIndex==5)
stringX="Exemple: 'yoga', 'photographie', 'sculpture', etc..";
if (document.layers){
document.countdownnsmain.document.countdownnssub.document.write(stringX);
document.countdownnsmain.document.countdownnssub.document.close();
}
else if (document.all||document.getElementById)
crosscount.innerHTML=stringX;
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<form name=Form1>
<select name="Origine" id="Origine" class="letras" onchange="ChangeIntitule();">
<option value="-1">Choisissez une rubrique</option>
<option value="0">Etudes / Formation Artistique</option>
<option value="1">Stage / Séminaire</option>
<option value="2">Expérience professionnelle</option>
<option value="3">Activité Artistique</option>
<option value="4">Loisirs</option>
</select><input type=text name=sqdf>
</form>
<form name=qsd>
<ilayer id="countdownnsmain" width=300; height=50; visibility=show>
<layer id="countdownnssub" width=300; height=50; left=0 top=0> </layer>
</ilayer>
</form>
You'll see that all the codes that you wrote for Netscape4 whith
the ILAYERS don't work if you save the page as .aspx.
IS THIS A HUGE BUG OF DOT NET ????????