In teoria questo script dovrebbe cambiare sfondo a seconda della risoluzione. Ma non lo fà. Dov'è l'errore?codice:<% dim x x = window.screen.width dim y y = window.screen.height if ((x == "1024") && (y == "768")) Response.Write("<style> body {background: url('body1024.gif') no-repeat left top #A6C96D }</style>") else if ((x == "1280") && (y == "1024")) Response.Write("<style> body {background: url('body1280.gif') no-repeat left top #A6C96D }</style>") else Response.Write("<style> body {background: #A6C96D }</style>") end if %>
Grazie in anticipo, Saluti![]()

Rispondi quotando
capito pardon