Categories
Uncategorized

JavaScript Code For Slideshow

<p class=”textcenter”> <script language=”JavaScript”>
var i = 0;
var path = new Array();// LIST OF IMAGES
path[0] = “/bodywork/syclonebackside.jpg”;
path[1] = “/bodywork/syclonefrontside.jpg”;
path[2] = “/bodywork/sycloneside.jpg”;
path[3] = “/bodywork/paintautobody.jpg”;

function swapImage()
{
document.slide.src = path[i];
if(i < path.length – 1) i++; else i = 0;
setTimeout(“swapImage()”,3000);
}
window.onload=swapImage;
</script>
<img height=”271″ name=”slide” src=”/bodywork/syclonebackside.jpg” width=”320″ /><br></p>

One reply on “JavaScript Code For Slideshow”

I like the ReCaptcha add on. Was easy and intuitive to install, and functions well with the security code being very readable and concise. I like this captcha better than a previous captcha that I had used that seemed rather childish.

Leave a Reply

Your email address will not be published. Required fields are marked *