|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Jun 2002
Città: Firenze
Messaggi: 445
|
auto risoluzione browser
ciao a tutti
esiste del codice dei plugin o altro che permettano di settare automaticamente la dimensione finestra del browser ? esempio se io ho da vedere un sito ottimizzato 800x600 ed ho lo schermo impostato a 1024x768 o superiore grazie a tutti |
|
|
|
|
|
#2 | |
|
Senior Member
Iscritto dal: Aug 2002
Città: Trento
Messaggi: 40877
|
Re: auto risoluzione browser
Quote:
|
|
|
|
|
|
|
#3 |
|
Utente sospeso
Iscritto dal: Aug 2002
Messaggi: 83
|
...
... <script language=JavaScript> function popupippo() { screenWidth = window.screen.availWidth; screenHeight = window.screen.availHeight; if (screenWidth > 800) { windowWidth = 860; windowHeight = screenHeight - 80; windowLeft = ( screenWidth - windowWidth ) / 2; windowTop = ( screenHeight - windowHeight ) / 2; pz=window.open( "index.htm", null, "left=" + windowLeft + ",top=" + windowTop + ",height=" + windowHeight + ",width=" + windowWidth + ",scrollbars=no"); pz.focus(); } else { windowWidth = 800; windowHeight = 600; windowLeft = ( screenWidth - windowWidth ) / 2; windowTop = ( screenHeight - windowHeight ) / 2; pz=window.open( "index.htm", null, "left=" + windowLeft + ",top=" + windowTop + ",height=" + windowHeight + ",width=" + windowWidth + ",scrollbars=no"); pz.focus(); } } </script> .... <body onLoad="javascript:popupippo()"> ... |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 20:18.


















