View Full Version : 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
Originariamente inviato da hylis
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
con firefox si può, e si può fare una infinità di altre cose: vedere i tag, il css, controllare il codice di un certo oggetto, ecc ecc eccc
Pestylenzia
10-05-2004, 19:15
...
...
<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()">
...
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.