<script language="JavaScript">
<!--//
if (window.Event) document.captureEvents(Event.ONCLICK);
document.onclick = window.close;
function clickIE4(){
if (event.button){
window.close();
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which){
window.close();
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onclick = window.close;
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onclick = window.close;
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("window.close(); return false")
//-->
</script>
<center>
<img src="./data/media/39/big/miriam_07.jpg" onClick="window.close()" alt="">
</center>
kod bu işte
Yalnız burada resmi okuturken <img src="./data/media/39/big/miriam_07.jpg" onClick="window.close()" alt="">
kısmında <img src="{image}"> olması lazım bildiğim kadarı ile deneme yapmak gerek.