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