View Single Post
Sponsorlu Bağlantılar
Zoque.Forum
Advertisement
Old 24.07.2003   #11 (permalink)
Scud
 
Scud's Avatar
 
Üyelik Tarihi: 25.08.2001
Yer: Antalya
Yaş: 27
Mesaj: 970
Extention Yeni Link

Ayrıca DW kullanmayanlar için:
head arasına konacak kod:
Kod:
<script language="JavaScript" type="text/JavaScript">
<!--
function openPictureWindow_Scud(imageName,alt) {
	newWindow = window.open("","newWindow","width=80,height=80");
	newWindow.document.open();
	newWindow.document.write('<HTML><head><title>'+alt+'</title><scr'+'ipt language="javascr'+'ipt">function boyutlandir(scud){genislik=eval(scud.offsetWidth)+8;yukseklik=eval(scud.offsetHeight)+27;window.resizeTo(genislik,yukseklik);yenix=(screen.availWidth-genislik)/2;yeniy=(screen.availHeight-yukseklik)/2;');
	newWindow.document.write('window.moveTo(yenix,yeniy);}</scr'+'ipt></head><body bgcolor=#FFFFFF leftmargin=0 topmargin=0 marginheight=0 marginwidth=0 onload="window.setTimeout(\\'self.close\\',20000)" onresize="boyutlandir(resim)" onload="boyutlandir(resim)">');
	newWindow.document.write('<img src='+imageName+' id=resim onload="boyutlandir(resim)" alt=""><scr'+'ipt language="javascr'+'ipt">boyutlandir(resim);</scr'+'ipt>');
	newWindow.document.write('</body></HTML>');
	newWindow.document.close();
	newWindow.focus();
}
//-->
</script>

Resimde bu şekilde kullanılıyor.
Kod:
<img src="images/projects/denizlihast01s.jpg" width="75" height="50" border="1" style="cursor:hand" onClick="openPictureWindow_Scud('images/projects/denizlihast01big.jpg','Pencere Başlığı')">

Saygılar..
__________________
Take me back to my boat on the river
and I won't cry out any more

Mesaj Scud tarafından 24.07.2003 (20:45) yeniden düzenlendi.
Scud şu an çevrimdışı   Mesajdan alıntı yaparak yeni bir cevap ekleyin