»
EnglishFrenchVietnamese

Print - Background Image Scroller - JavaScriptBank.com

Full version: jsB@nk » Background » Background Image Scroller
URL: https://www.javascriptbank.com/background-image-scroller.html

Background Image Scroller © JavaScriptBank.comAnimate your background-image with this tiny and eyecatching script.

Full version: jsB@nk » Background » Background Image Scroller
URL: https://www.javascriptbank.com/background-image-scroller.html



JavaScript
<script language="javascript">/*     This script downloaded from www.JavaScriptBank.com     Come to view and download over 2000+ free javascript at www.JavaScriptBank.com*/// Background Image Scroller// Author: Peter Gehrig // Web Site: http://www.24fun.com // URL of slidevar slide="../image/logojs.gif"// Do not edit the code below this linevar imgpreload=new Image()imgpreload.src=slidevar pos=0;var maxpos=9;var ns6=document.getElementById&&!document.all?1:0 var ie=document.all?1:0function initscroll(){if (ie || ns6) {document.body.background=slide;doscroll()}}function doscroll(){pos++;    document.body.style.backgroundPosition=pos+" "+pos;    var timer=setTimeout("doscroll()",30);}if (ie || ns6) {window.onload=initscroll;}</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->