Buongiorno a tutti devo aprire una popup ed uso questo codice, che funziona alla grande:
var win = null;
function NewWindow(mypage,myname,w,h,scroll) {
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left ='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}
Che richiamio cosi:
[img]img.gif[/img]"
Ho un problema vorrei impostare il resizable = no, come posso procedere?
grazie.

Rispondi quotando