Site altına kayan referans bandı |
10 Mesajlar | 5.409 Okunma |
<script>
var speed=30
var i=0
var n=Math.floor(js1.offsetWidth/p1_js1.offsetWidth)
for (i=0;i<=n;i++)
{
p2_js1.innerHTML+=p1_js1.innerHTML
}
function m_js1()
{
if(c_js1.scrollLeft>=p1_js1.offsetWidth)
c_js1.scrollLeft-=p1_js1.offsetWidth
else
c_js1.scrollLeft++
}
var mm_js1=setInterval(m_js1,speed)
c_js1.function(){clearInterval(mm_js1)}
c_js1.onmouseout=function(){mm_js1=setInterval(m_js1,speed)}
</script>