1. ) Replace the two functions of the same names, with the ones below:
Code:
function backward(){
which=which>0? which-1 : photos.length-1
applyeffect()
document.images.photoslider.src=photos[which]
playeffect()
keeptrack()
}
function forward(){
which=which<photos.length-1? which+1 : 0
applyeffect()
document.images.photoslider.src=photos[which]
playeffect()
keeptrack()
}
2. ) Sorry, there may be a way to have the browser resize your images but, it is such a bad idea for so many reasons, I will not even consider it. However, there is good news! Most paint and image programs will allow you to batch resize your images, so it shouldn't be so much of an ordeal as you might imagine.
Bookmarks