magazzino disordinato di appunti
Redirect a siti differenti in base alla risoluzione dello schermo utente
<script language="Javascript">
//<!--
if (screen.width <= 640) {
document.location = "640x480.htm";
}
else if (screen.width <= 800) {
document.location = "800x600.htm";
}
else if (screen.width <= 1024) {
document.location = "1024x768.htm";
}
if (screen.width > 1024) {
document.location = "huuuuuuuuge.htm";
}
//-->
</script>