Ho creato un autorun per un cd che deve controllare se la risoluzione video è 1024x768 o 800x600 ma va solo su alcuni computer.
ho creato 3 file: index1024.htm, index800.htm,index.htm e loader.exe.
Nell'index.htm ho inserito questo codice ma non funziona, come mai?
Grazie
<html>
<head>
<title>Landini</title>
<link rel="stylesheet" type="text/css" href="pagine/stile.css">
<script language="javascript">
<!--
var s_width ='';
var s_height ='';
s_width=screen.width
s_height=screen.height
if (s_width < "1024"){
location.href="index800.htm";}
if (s_width == "1024"){
location.href="index1024.htm";}
if (s_width > "1024"){
location.href="index1024.htm";}
//-->
</script>
</head>
<body>
</body>
</html>