By_Rapçı Site Admin
Mesaj Sayısı : 310 Yaş : 34 Nerden : İstanbul Takım : Fenerbahçe Kişisel İleti : Grafiker Ruh Hali : Kayıt tarihi : 23/12/08
| Konu: Resim Boyutlandırma Salı Şub. 10, 2009 1:23 pm | |
| - Kod:
-
[font=Courier New]<script> window.onload = resizeimg; function resizeimg() { if (document.getElementsByTagName) { for (i=0; i<document.getElementsByTagName('img').length; i++) { im = document.getElementsByTagName('img')[i]; if (im.width > 690) { im.style.width = '690px'; eval("pop" + String(i) + " = new Function(\"pop = window.open('" + im.src + " ','fullscale','width=690,height=690,scrollbars=1,resizable=1'); pop.focus();\")"); eval("im.onclick = pop" + String(i) + ";"); if (document.all) im.style.cursor = 'hand'; if (!document.all) im.style.cursor = 'pointer'; im.title = 'Büyük Hali İçin Tıklayın.. '; } } } }
</script>[/font]
[font=Courier New]<script> window.onload = resizeimg; function resizeimg() { if (document.getElementsByTagName) { for (i=0; i<document.getElementsByTagName('img').length; i++) { im = document.getElementsByTagName('img')[i]; if (im.width > 690) { im.style.width = '690px'; eval("pop" + String(i) + " = new Function(\"pop = window.open('" + im.src + " ','fullscale','width=690,height=690,scrollbars=1,resizable=1'); pop.focus();\")"); eval("im.onclick = pop" + String(i) + ";"); if (document.all) im.style.cursor = 'hand'; if (!document.all) im.style.cursor = 'pointer'; im.title = 'Büyük Hali İçin Tıklayın.. '; } } } }
</script>[/font]
| |
|