Ciao a tutti. Volevo chidere se esiste un metodo per reindirizzare l'utente in base alla risoluzione ad un determinato foglio .css.
Ad esempio ho trovato il seguente script, il quale reindirizza l'utente ad una pagina in base alla propria risoluzione:
<script language="javascript">
<!--
var s_width ='';
var s_height ='';
s_width=screen.width
s_height=screen.height
if (s_width == "640"){
location.href="640_x_480.htm";
}
if (s_width == "800"){
location.href="800_x_600.htm";
}
if (s_width == "1024"){
location.href="1024_x_768.htm";
}
if (s_width == "1152"){
location.href="1152_x_864.htm";
}
if (s_width == "1280"){
location.href="1280_x_1024.htm";
}
//-->
</script>
E' possibile fare la stessa cosa, ma con un file .css? Se sì come? Grazie