I made this with jQuery instead.
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content= "text/html; charset=iso-8859-1">
<title>Slideshow</title>
<script type="text/javascript" src= "http://jqueryjs.googlecode.com/files/jquery-1.2.6.min.js">
</script>
<script type="text/javascript" src= "http://malsup.com/jquery/cycle/lite/jquery.cycle.lite.min.js?v1.0">
</script>
<script type="text/javascript">
$(function(){
$('#thumbs img').css({
'height': '200px'
});
$('.slide').cycle();
$('.slide').hide();
$('#thumbs img').hover(function(){
$('#' + $(this).attr('name')).show();
}, function(){
$('#' + $(this).attr('name')).hide();
});
});
</script>
</head>
<body>
<div id="thumbs">
<img name="slide1" src= "http://www.gamerflicks.com/images/uploads/ghostbusters_logo.gif">
<img name="slide2" src= "http://www.cracked.com/blog/wp-content/uploads/2008/05/ghostbusters2.jpg">
<img name="slide3" src= "http://members.tripod.com/~TheDorkboy/ghostbusters/gb3logo.gif">
</div>
<div>
<div id="slide1" class="slide">
<img src= "http://www.airportdirecttravel.co.uk/live/Portals/10/Turkey/Gulet-200x200.jpg">
<p>Some text that will be in the slideshow</p>
<img src= "http://www.bighappyfaces.com/happy-face-happyface-smiley-200x200.gif">
<img src= "http://aumaan.no-ip.org/Icons/icon%20-%20200x200%20-%20hot%20rod.gif">
</div>
<div id="slide2" class="slide">
<span><img src= "http://davidnaylor.org/temp/thunderbird-logo-200x200.png">Image with text</span>
<img src= "http://davidnaylor.org/temp/firefox-logo-200x200.png">
<img src= "http://markcarson.com/images/Sunbird-4-200x200.png">
</div>
<div id="slide3" class="slide">
<img src= "http://www.soton.ac.uk/~fangohr/research/vortex1/mbg/small_sph_200x200.gif">
<img src= "http://www.boingboing.net/images/_programs_fa_features_2005_06_clowes_200x200.jpg">
<img src= "http://img174.imageshack.us/img174/4823/itachixd6.png">
</div>
</div>
</body>
</html>
What you need to make sure is that the elements in the "thumbs" div have the same name as the slideshows they will show. For example the first image with the name "slide1" will show the first slideshow with the id "slide1". You can put anything you want as thumbnails or as slides, not just images. All elements in containers with the "slide" class will be treated as a slide. All elements inside the "thumbs container will work as thumbs as long as the have the correct name. You can also take a look at the plugin I used for more settings for the slideshow:
http://malsup.com/jquery/cycle/lite/
Good luck and ask if you need any help or explaining.
Bookmarks