Background Slide Show (javascript Animation)

  • Uploaded by: Amit Sony
  • 0
  • 0
  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Background Slide Show (javascript Animation) as PDF for free.

More details

  • Words: 88
  • Pages: 1
Background Slide Show This JavaScript allows to show unlimited number of images in background of your website with pre-determined interval. Insert into <style> body{ /*Remove below line to make bgimage NOT fixed*/ background-attachment:fixed; background-repeat: no-repeat; /*Use center center in place of 300 200 to center bg image*/ background-position: 300 200; } <script language="JavaScript1.2"> var bgimages=new Array() bgimages[0]="img1.jpg" bgimages[1]="img2.jpg" bgimages[2]="img3.jpg" //preload images var pathToImg=new Array() for (i=0;i

Related Documents


More Documents from ""