salve, dovrei aprire una finestra da pop up attraverso il clic su un'immagine.
esattamente nella pagina principale ho messo lo script
ora cosa applico all'immagine? ho provato ad inserire un'areae sensibile applicando al linkCodice PHP:<script type=text/javascript>
<!--
var win= null;
function NewWindow(mypage,myname,w,h,scroll){
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
var settings ='height='+h+',';
settings +='width='+w+',';
settings +='top='+wint+',';
settings +='left='+winl+',';
settings +='scrollbars='+scroll+',';
settings +='resizable=yes';
win=window.open(mypage,myname,settings);
if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}
function MM_openBrWindow(theURL,winName,features) {
window.open(theURL,winName,features);
}
//-->
</script>
javascript:POPUP()
ma non va, che codice andrebbe messo?
grazie.

Rispondi quotando