Ciao,
mi sapete dire perchè questo script non riconosce firefox?
<script language="JavaScript">
if (document.layers){ //Netscape
document.write("<link rel='stylesheet' href='stili_ie.css' type='text/css'>");
}
else if (document.all){ // Explorer
document.write("<link rel='stylesheet' href='stili_ie.css' type='text/css'>");
}
else if (document.getElementById){ //Firefox
document.write("<link rel='stylesheet' href='stili_ff.css' type='text/css'>");
}
//-->
</script>
Ciaoooooooooooooo
Grazie! :mavieni:
mi sapete dire perchè questo script non riconosce firefox?
<script language="JavaScript">
if (document.layers){ //Netscape
document.write("<link rel='stylesheet' href='stili_ie.css' type='text/css'>");
}
else if (document.all){ // Explorer
document.write("<link rel='stylesheet' href='stili_ie.css' type='text/css'>");
}
else if (document.getElementById){ //Firefox
document.write("<link rel='stylesheet' href='stili_ff.css' type='text/css'>");
}
//-->
</script>
Ciaoooooooooooooo
Grazie! :mavieni: