gencoglu27
03-16-2006, 03:39 AM
Hi,How can I change the direction so that the background image should move left or right...The direction in the The code below is upward Thanks a lot <body background="sky5.jpg"> <script> var howQuick = 1; var beIE = document.all?true:false; var iWhere = 0; function scrollBackGround(){ if (beIE){ iWhere = iWhere - 1; if (iWhere > 1000000) iWhere = 1; document.body.style.backgroundPosition = "0 " + iWhere; window.setTimeout("scrollBackGround()",howQuick); } } scrollBackGround(); </script> |