serverguy78
MIS
Hello, I was wondering if someone can show me how to add a text bar to bottom of my pics in my imageslideshow script. Here is my code:
Code:
<body topmargin="5" leftmargin="0" marginheight="0" marginwidth="0" onload="runSlideShow();initAll()">
var crossFadeDuration = 3;
var Pic = [];
Pic[0] = 'One.gif'
Pic[1] = 'Two.gif'
var slideshow;
var m = 0;
var n = Pic.length;
var slideShowSpeed = 2000;
var preLoad = new Array();
for (i = 0; i < n; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}
function runSlideShow(){
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)"
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
document.images.SlideShow.filters.blendTrans.Apply()
}
document.images.SlideShow.src = preLoad[m].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play()
}
slideshow = setTimeout('runSlideShow()', slideShowSpeed);
}