Forum'da ara:
Ara


Yazar Mesaj
Mesaj25.09.2010, 18:58 (UTC)    
Mesaj konusu: maus ile üzerine gelince duran script kodu

arkadaşlar vermiş olduğum kodda resimler slayt şeklinde kayarak gösteriliyor,ben üzerine mausla gelince slaytın durmasını istiyorum.düzeltma yapabilecek olan varmı?
Kod:
<script language="JavaScript1.1" type="text/javascript">
var specifyimage=new Array() //Your images / resimler
specifyimage[0]="http://img.webme.com/pic/s/shellrts/"
specifyimage[1]="http://img.webme.com/pic/s/shellrts/"
specifyimage[2]="http://img.webme.com/pic/s/shellrts/"
specifyimage[3]="http://img.webme.com/pic/s/shellrts/"
specifyimage[4]="http://img.webme.com/pic/s/shellrts/"
specifyimage[5]="http://img.webme.com/pic/s/shellrts/"
specifyimage[6]="http://img.webme.com/pic/s/shellrts/"
specifyimage[7]="http://img.webme.com/pic/s/shellrts/"
specifyimage[8]="http://img.webme.com/pic/s/shellrts/"
specifyimage[9]="http://img.webme.com/pic/s/shellrts/"


var delay=3000 //3 seconds / 3 saniye bekleme

//Counter for array / syralamadaki ikinci resim
var count =0;

var cubeimage=new Array()
for (i=0;i<specifyimage.length;i++){
cubeimage[i]=new Image()
cubeimage[i].src=specifyimage[i]
}
function movecube(){
if (window.createPopup)
cube.filters[0].apply()
document.images.cube.src=cubeimage[count].src;
if (window.createPopup)
cube.filters[0].play()
count++;
if (count==cubeimage.length)
count=0;
setTimeout("movecube()",delay)
}

window.onload=new Function("setTimeout('movecube()',delay)")
</script>
<img border="0" name="cube" alt="//" align="left"
style="filter: progid:DXImageTransform.Microsoft.Stretch(stretchStyle='PUSH');
width: 700px; height: 525px" src="http://img.webme.com/pic/s/shellrts/" />
</div>

______________
Önceki mesajları göster:   


Powered by phpBB © 2001, 2005 phpBB Group
Türkçe Çeviri: phpBB Türkiye & Erdem Çorapçıoğlu