Why lightbox? Do you like how it looks? If that's the only issue use slimbox2, see:
http://www.dynamicdrive.com/forums/blog.php?b=247
However, if you're also having trouble implementing/integrating it with the slideshow, let me know.
Two (there are more) advantages with slimbox2 here are that it looks just like lightbox, and is compatible with jQuery. So for a simple integration you don't need to do anything with the slideshow script, just add slimbox2 and its styles to the page and this highlighted init for it:
Code:
<link rel="stylesheet" href="css/slimbox2.css" type="text/css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="js/slimbox2.js"></script>
<script type="text/javascript">
(function($){
if (!/android|iphone|ipod|series60|symbian|windows ce|blackberry/i.test(navigator.userAgent)) {
$('.gallerylayer a').live('click', function(e){
var t = this;
$.slimbox(t.href, 'Enlarged Image' || '', { /* Options */ });
e.preventDefault();
});
}
})(jQuery);
</script>
<script type="text/javascript" src="js/fadeslideshow.js">
/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://i26.t . . .
Set the links in the imagearray as the paths to the larger images:
Code:
imagearray: [
["http://i26.tinypic.com/11l7ls0.jpg", "images/image-1.jpg", "", "Nothing beats relaxing next to the pool when the weather is hot."],
["http://i29.tinypic.com/xp3hns.jpg", "images/image-2.jpg", "_new", "Some day I'd like to explore these caves!"],
["http://i30.tinypic.com/531q3n.jpg", "images/image-3.jpg"],
["http://i31.tinypic.com/119w28m.jpg", "images/image-4.jpg", "", "What a beautiful scene with everything changing colors."] //<--no trailing comma after very last image element!
],
Bookmarks