Just in case, here is the source code to my demo using two slide shows and the above outlined method:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
//If using image buttons as controls, Set image buttons' image preload here true
//(use false for no preloading and for when using no image buttons as controls):
var preload_ctrl_images=false;
var slides=[]; //FIRST SLIDESHOW
//configure the below images and descriptions to your own.
slides[0] = ["../../side/files/photo1.jpg", "<b>Heading 1<\/b><br>Kissing Fools"];
slides[1] = ["../../side/files/photo2.jpg", "<b>Heading 2<\/b><br>Seated Woman"];
slides[2] = ["../../side/files/photo3.jpg", "<b>Heading 3<\/b><br>The Dog Lovers"];
slides[3] = ["../../side/files/photo4.jpg", "<b>Heading 4<\/b><br>Standing Woman"];
slides[4] = ["../../side/files/photo5.jpg", "<b>Heading 5<\/b><br>John, Mary and Jesus - Will this wrap?"];
//optional properties for these images:
slides.no_controls=1;
slides.no_added_linebreaks=1; //use for no added line breaks in formatting of texts and controls
slides.nofade=1;
slides.manual_start=1;
var slides2=[]; //SECOND SLIDESHOW
//configure the below images and descriptions to your own.
slides2[0] = ["../../side/files/photo6.jpg", "Crucifix"];
slides2[1] = ["../../side/files/photo7.jpg", "Alter Boys"];
slides2[2] = ["../../side/files/photo8.jpg", "Young Pan"];
slides2[3] = ["../../side/files/photo9_thumb.jpg", "Mona Lisa"];
//optional properties for these images:
slides2.no_controls=1;
slides2.no_added_linebreaks=1; //use for no added line breaks in formatting of texts and controls
slides2.nofade=1;
slides2.manual_start=1;
function start_it(num,d){
if(!d){
setTimeout(function(){start_it(num,1);},iss[num].delay);
return;
}
if(document.createElement){
if (typeof document.getElementById('canvas'+num+'_0').style.opacity=='string'){
iss[num].fade=1;
document.getElementById('canvas'+num+'_0').style.opacity=.99;
document.getElementById('canvas'+num+'_1').style.opacity=.1;
}
else if(typeof document.getElementById('canvas'+num+'_0').style.filter=='string'){
iss[num].fade=1;
document.getElementById('canvas'+num+'_0').style.filter="alpha(opacity=100)";
document.getElementById('canvas'+num+'_1').style.filter="alpha(opacity=10)";
}
}
iss[num].gostop();
}
</script>
<script src="swissarmy.js" type="text/javascript">
/***********************************************
* Swiss Army Image slide show script - © John Davenport Scheuer: http://home.comcast.net/~jscheuer1/
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code
***********************************************/
</script>
</head>
<body>
<p>
<div><script type="text/javascript">
//Notes on Parameters: The only required parameter is the slides_array_name. If Width is used, so must Height.
//Interval is optional too. It is always last, either fourth after Width and Height or second after Slides_array_name.
//Usage: new inter_slide(Slides_array_name, Width, Height, Interval)
new inter_slide(slides)
start_it(0);
</script></div>
</p>
<p>
<div><script type="text/javascript">
new inter_slide(slides2)
start_it(1);
</script></div>
</p>
</body>
</html>
Bookmarks