Slm arkadaşlar.Bazı sitelerde olurya resimler sayfa yenilenince otomatik olarak değişiyor.Bu kodu nereden bulabilirm yada bu kod elinde olan varsa rica etsem bana bu kodları verebilirmisiniz.
<script> <!-- //By George Chiang (http://www.javascriptkit.com) More JavaScripts here! var sound1="ev.bmp" var sound2="saat.bmp" var sound3="KUMANDA.bmp" var sound4="agac.bmp" var sound5="cicek.bmp" var sound6="tablo1.bmp" var sound7="tablo2.bmp" var sound8="ev2.bmp" var sound9="akasya.jpg" var sound10="kupZeka.bmp" var x=Math.round(Math.random()*9) if (x==0) x=sound1 else if (x==1) x=sound2 else if (x==2) x=sound3 else if (x==3) x=sound4 else if (x==4) x=sound5 else if (x==5) x=sound6 else if (x==6) x=sound7 else if (x==7) x=sound8 else if (x==8) x=sound9 else x=sound10 //if (navigator.appName=="Microsoft Internet Explorer") document.write('<img src='+'"'+x+'"'+' >') //else //document.write('<embed src='+'"'+x+'"'+'hidden="true" border="0" width="20" height="20" //autostart="true" loop="true">') //--> </script>
<?php
$resim1="resim.jpg";
$resim2="resim2.jpg";
$rastgel=mt_rand(1,2);
$sec=array($resim1,$resim2);
echo "<img src=\"$sec[$rastgel]\">";
?>
Bu mesaja 1 cevap geldi. Cevapları Gizle
<script>
<!--
//By George Chiang (http://www.javascriptkit.com) More JavaScripts here!
var sound1="ev.bmp"
var sound2="saat.bmp"
var sound3="KUMANDA.bmp"
var sound4="agac.bmp"
var sound5="cicek.bmp"
var sound6="tablo1.bmp"
var sound7="tablo2.bmp"
var sound8="ev2.bmp"
var sound9="akasya.jpg"
var sound10="kupZeka.bmp"
var x=Math.round(Math.random()*9)
if (x==0) x=sound1
else if (x==1) x=sound2
else if (x==2) x=sound3
else if (x==3) x=sound4
else if (x==4) x=sound5
else if (x==5) x=sound6
else if (x==6) x=sound7
else if (x==7) x=sound8
else if (x==8) x=sound9
else x=sound10
//if (navigator.appName=="Microsoft Internet Explorer")
document.write('<img src='+'"'+x+'"'+' >')
//else
//document.write('<embed src='+'"'+x+'"'+'hidden="true" border="0" width="20" height="20" //autostart="true" loop="true">')
//-->
</script>
Başka konularda da javascipt kodu arayanlar şuraya bakabilir.
http://forum.mutasyon.net/index.php?showtopic=4289&st=0
Bu mesaja 1 cevap geldi. Cevapları Gizle