PDA

View Full Version : "DHTML Slide Show Script" - How to return to beginning?



cbphoto
05-14-2010, 03:42 AM
1) Script Title: DHTML Slide Show Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/dhtmlslide.htm

3) Describe problem: Script works great, but can someone tell me how to add code to return to image #1 after viewing the final image? I am not versed in JS.

cbphoto
05-14-2010, 03:49 AM
Never mind! I tried searching again using the full link to the script and found the answer.

function forward(){
if (which<photos.length-1)
which=which+1;
else
which=0;
applyeffect()
document.images.photoslider.src=photos[which]
playeffect()
keeptrack()
}

seatri9
05-14-2010, 08:35 AM
how to i get a zip code widget on my insurance website? thanks.