PHP Paste by Anonymous
Description: None
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | <ILAYER id=l1><LAYER id=l2> <DIV id=l1> <DIV style="POSITION: relative" id=l3></DIV></DIV> <P></LAYER></ILAYER> <SCRIPT language="JavaScript"> <!-- // *********************************************** // AUTHOR: WWW.CGISCRIPT.NET, LLC // URL: http://www.cgiscript.net // Use the script, just leave this message intact. // Download your FREE CGI/Perl Scripts today! // ( http://www.cgiscript.net/scripts.htm ) // *********************************************** var bannerArray = new Array(); var myCount=0; // Banner Code Assignment bannerArray[0] = '<A HREF=\"http://www.selvbruner.no\"><IMG SRC=\"http://www.sunspanorge.no/images/intro/SlideShowTest.jpg\" border=\"0\" width=\"840\" height=\"350\"></A>'; bannerArray[1] = '<A HREF=\"http://www.selvbruner.no\"><IMG SRC=\"http://www.sunspanorge.no/images/intro/SlideShowPress.jpg\" border=\"0\" width=\"840\" height=\"350\"></A>'; bannerArray[2] = '<A HREF=\"http://www.selvbruner.no\"><IMG SRC=\"http://www.sunspanorge.no/images/intro/SlideShowDennis.jpg\" border=\"0\" width=\"840\" height=\"350\"></A>'; bannerRotate(); function bannerRotate() { if(myCount > bannerArray.length-1){myCount=0;} // Write out rotation if (document.all){ // it is IE document.all.l3.innerHTML=bannerArray[myCount]; } else if (document.layers){ // it is NN document.layers.l1.document.layers.l2.document.open(); document.layers.l1.document.layers.l2.document.write(bannerArray[myCount]); document.layers.l1.document.layers.l2.document.close(); } else { document.all.l3.innerHTML=bannerArray[myCount]; } setTimeout("bannerRotate()", 11000); myCount++; } // --> </SCRIPT> |