Yeah, looks like there are other problems. Try replacing this garbage with the script's original populateslide() function:
Code:
fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="%27+this.theimages%5Bpicindex%5D+%27" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img src="%27+this.postimages%5Bpicindex%5D.src+%27" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}
If getpics is constructing the array properly, which it looks like it is (with the exception that you need to correct the paths getpics is generating as I mentioned in my previous post), the rest of the script should be able to be used 'as is'.
Bookmarks