Hello,
I need help making this script run as an Automatic Rotation. I need everything to work the same. Maybe someone knows what to add new coding for the images, and text to change automatically?
Thanks,
- Andrew
Code:<script language="JavaScript"> <!-- function random_imglink(){ var myimages=new Array() //specify random images below. You can have as many as you wish myimages[1]="http://www.dlrinfo.com/main/Caslte-Night-Fireworks.jpg" myimages[2]="http://www.dlrinfo.com/main/DCA-TowerofTerror.jpg" myimages[3]="http://www.dlrinfo.com/main/DLR-Big-Thunder.jpg" myimages[4]="http://www.dlrinfo.com/main/DLR-Partners-statue.jpg" myimages[5]="http://www.dlrinfo.com/main/DLR-Matterhorn.jpg" //specify corresponding links below var imagelinks=new Array() imagelinks[1]="" imagelinks[2]="" imagelinks[3]="" imagelinks[4]="" imagelinks[5]="" var imagetext=new Array() imagetext[1]="Disneyland's Remember Dreams Come True fireworks" imagetext[2]="Disney's California Adventure's Tower of Terror" imagetext[3]="Disneyland's Big Thunder Mountain" imagetext[4]="Disneyland's SBC Partners Statue" imagetext[5]="Disneyland's Matterhorn Mountain" var ry=Math.floor(Math.random()*myimages.length) if (ry==0) ry=1 //var ry=14 document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0></a>') document.write('<br>') document.write('<span class="style3">'+imagetext[ry]+'</span>') } random_imglink() //--> </script>



Bookmarks