Kayıtlı kullanıcı Offline
|
Yazılar: 17
Katılım tarihi: Sep 2006
|
Kod:
<script language="JavaScript">
<!-- Voor de leukste scripts gaat u naar...-->
<!-- Selcan's Javascript! The source for all your Javascript and PHP -->
<!--
function sup(size)
{
var maxsize=size;
var backgroundOffset=size;
clearInterval(ScrollTimer);
ScrollTimer=window.setInterval("scrollup()",64);
return;
}
function scrollup()
{
backgroundOffset-=1;
if (backgroundOffset<0) backgroundOffset=maxsize;
document.body.style.backgroundPosition="0 "+backgroundOffset;
}
function sdown(size)
{
var maxsize=size;
var backgroundOffset=0;
clearInterval(ScrollTimer);
ScrollTimer=window.setInterval("scrolldown()",64);
return;
}
function scrolldown()
{
backgroundOffset+=1;
if (backgroundOffset>maxsize) backgroundOffset=0;
document.body.style.backgroundPosition="0 "+backgroundOffset;
}
var maxsize=138;
var backgroundOffset=0;
var ScrollTimer=window.setInterval("scrollup()",64);
// -->
</script>
</head>
<body background="remin urlsi">
|