AhmetTulgar adlı üyeden alıntı: mesajı görüntüle
<script type="text/javascript"> var win=null; function PopupWindow(mypage,myname,w,h,pos,infocus){ if(pos=="random"){myleft=(screen.width)?Math.floor (Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.rand om()*((screen.height-h)-75)):100;} if(pos=="center"){myleft=(screen.width)?(screen.wi dth-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;} else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20} settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=no,directories=yes,status =yes,menubar=yes,toolbar=yes,resizable=yes";win=wi ndow.open(mypage,myname,settings); win.focus(); } </script>
Daha sonra.
<script type="text/javascript"> NewWindow('ADRES','Popup','465','600','fullscreen' ,'front'); </script>
Bir görsele tıkladığında açılması için,
<img src="gorsel.png" onclick="PopupWindow('ADRES','Popup','465','600',' fullscreen','front')">
Umarım yardımcı olmuştur.

Çok teşekkür ediyorum hocam ellerinize sağlık.