<
script>
function kisisel(url) {
die = window.open(url,"pencere",'toolbar=0,location=0,di rectories=0,status=0,menubar=0,scrollbars=0,resiza ble=0,width=175,height=430');
}
function hanimis(url) {
win = window.open(url,"pencere",'toolbar=0,location=0,di rectories=0,status=0,menubar=0,scrollbars=0,resiza ble=0,width=300,height=425');
}
</
script>
<a href="
JavaScript:kisisel('link.
ASP')">
<a href="
JavaScript:hanimis('link2.
ASP')">
üstteki diğer örnek için function NewWindow'un adını değiştir
function NewWindow2 yap mesela
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)
}
function NewWindow2(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)
}
<a href="..." onclick="NewWindow2(this.href,'name','400','400',' yes');return false">Yeni pencere aç</a>
arkadaşların dedikleri olmazsa tabi...