PDA

View Full Version : Ultimate Fade-In Slideshow (v1.51)



dada
01-13-2009, 08:18 AM
1) Script Title: Ultimate Fade-In Slideshow (v1.51)

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

3) Describe problem: SOMETHING IS WRONG WITH THIS CODE-WHAN I PUT THIS ON INTERNET IE IS SHOW FOLOWING MESAGE:

*****************************
A Runtime Error has occurred
Do you wish to Debug?

line 108:
ERROR:" this.theimages[...].1 " is null or not object.
***********************************************
NOTE: I HAVE PUT 4 IMAGES BUT THIS IMAGES NOT LINKED.!!!!!!

*************************************************
WHAT I HAVE TO DO WITH JAVASCRTPT BELOW TO AVOID ERROR MESSAGE????

*************************************************

fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML