4images Forum & Community
International => Turkish / Türkçe => Topic started by: abdullah on April 24, 2008, 03:45:33 PM
-
selamun aleykum ekib sayfaları gezerken gördüm bakın resmi tıklayınca buyukcesi aciliyor
http://www.gpaed.de/bildergalerie/img755_english.htm
manyak birsey bence.... ilk bulan kodu yazsin
-
<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.