jscheuer1, i'm continuing from,
http://www.dynamicdrive.com/forums/s...t=54023&page=2
this code is not working as i want,
Code:
var slides=[]; //FIRST SLIDESHOW
//configure the below images and descriptions to your own.
slides[0] = ["photo1.jpg", "Kissing Fools", "photo1_lrg.jpg"];
slides[1] = ["photo2.jpg", "Seated Woman", "photo2_lrg.jpg"];
slides[2] = ["photo3.jpg", "The Dog Lovers", "photo3_lrg.jpg"];
slides[3] = ["photo4.jpg", "Standing Woman", "photo4_lrg.jpg"];
slides[4] = ["photo5.jpg", "John, Mary and Jesus", "photo5_lrg.jpg"];
Code:
<script type="text/javascript">
(function(ar){
var d = document.createElement('div'), a = document.createElement('a'), a1;
a.rel = 'lightbox[Brussels]';
d.style.display = 'none';
for(var i = 0; i < ar.length; ++i){
a1 = a.cloneNode(true);
a1.title = ar[i][1];
a1.href = ar[i][2];
d.appendChild(a1);
}
document.body.insertBefore(d, document.body.firstChild);
})(slides);
</script>
Place that right after your opening <body> tag. This assumes that the Swiss Army scripts were installed as instructed on its demo page, with the array of slides in the head of the page.
what i want is lightbox slideshow. not lightbox. when i Place this code as you said it's working as normal lightbox but not like lightbox slideshow. i want to perform lightbox slideshow.
( sorry for being late)
Bookmarks