Ecco il problema: ho uno script PopC2(pagina) per aprire una popup centrata.
Con IExplorex tutto ok!
Invece con FFirex NO: non vedo lo scroll e pure le dimensioni sono molto più piccole..
perchè?![]()
ecco tutto lo script
<script language="JavaScript">
<!--
function PopC1(pagina) {
var h = 300;
var w = 400;
var pw = Math.floor((screen.width-w)/2);
var ph = Math.floor((screen.height-h)/2);
window.open(pagina,"o","scrollbars=no width=" + w + ",height=" + h + ",top=" + ph + ",left=" + pw );
}
function PopC2(pagina) {
var h = 420;
var w = 760;
var pw = Math.floor((screen.width-w)/2);
var ph = Math.floor((screen.height-h)/2);
window.open(pagina,"o2"," scrollbars=yes width=" + w + ",height=" + h + ",top=" + ph + ",left=" + pw );
}
//-->
</script>
tnx!
PS: apro le popup da flash semplicemente con
on(release){
getURL("javascript:PopC2('miapagina.htm');");
}