Thanks Twey.
What you say there looks complicated at first, but then makes a lot of sense when you read it slowly!
Thanks for explaining!
If you have time, would you mind looking at my other post:
ThanksQuote:
Multiple fade-in slideshows
Printable View
Thanks Twey.
What you say there looks complicated at first, but then makes a lot of sense when you read it slowly!
Thanks for explaining!
If you have time, would you mind looking at my other post:
ThanksQuote:
Multiple fade-in slideshows
Sorry, I don't know enough about DreamWeaver to help you there. I'd suggest coding the pages yourself.
I just got Fangs! and my link is to the home page, as an update is available.
Playing with it, if all you want is one alt for the slide show, that can be inserted without changing the array(s) of images:
But it does appear twice, once for the image loaded and once for the image ready to go at the time the reader is invoked. In other words, as this script always has two images coded to the innerHTML of the slideshow divisions, only those two images actually coded to the innerHTML at the time the reader is invoked will be read. This would also be the case for the individual alt attributes as outlined before.Code: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+'" alt="Slideshow" title="" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}