|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Sep 2002
Città: -
Messaggi: 306
|
Problema con autorun
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 bene, come mai? Grazie <!-- saved from url=(0022)http://internet.e-mail --> <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> |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Apr 2000
Città: Vicino a Montecatini(Pistoia) Moto:Kawasaki Ninja ZX-9R Scudetti: 29
Messaggi: 53971
|
Perchè mancano i ';' qui ?
s_width=screen.width s_height=screen.height |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 15:07.



















