Forum'da ara:
Ara


Yazar Mesaj
Mesaj29.08.2007, 11:58 (UTC)    
Mesaj konusu: Sallanan Yazı İSTEDİĞİN YAZIYI YAZ SİTENDE SALLANSIN

<HTML>

<HEAD>

<TITLE>Sallanan Yazı</TITLE>

<style>

.jc{

position:relative;

}

</style>

<SCRIPT>

var ns6=document.getElementById&&!document.all

var ie=document.all

var customcollect=new Array()

var i=0

function jiggleit(num){

if ((!document.all&&!document.getElementById)) return;

customcollect[num].style.left=(parseInt(customcollect[num].style.left)==-1)? customcollect[num].style.left=1 : customcollect[num].style.left=-1

}

function init(){

if (ie){

while (eval("document.all.jiggle"+i)!=null){

customcollect[i]= eval("document.all.jiggle"+i)

i++

}

}

else if (ns6){

while (document.getElementById("jiggle"+i)!=null){

customcollect[i]= document.getElementById("jiggle"+i)

i++

}

}

if (customcollect.length==1)

setInterval("jiggleit(0)",80)

else if (customcollect.length>1)

for (y=0;y<customcollect.length;y++){

var tempvariable='setInterval("jiggleit('+y+')",'+'100)'

eval(tempvariable)

}

}

window.onload=init

</SCRIPT>

</HEAD>

<BODY>

<span id="jiggle0" class="jc"><b>Sallanan yazı örneği</b></span>

</BODY>

</HTML>

ZİYARET ET SİTEME DAHA FAZLASI VAR
Önceki mesajları göster:   


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