duplicate image slideshow in fancybox -
di have set fancybox opened using hotspot. there 3 images have slideshow when i've done first image appears 3 times. sequence of slideshow photo1, photo1, photo1, photo2, photo3.
<script type="text/javascript"> $(document).ready(function(){ $(".fancybox5") .attr('rel', 'gallery') .fancybox(); }); </script> <a class="fancybox5" href="#inline5"><area shape="poly" coords="704,113,688,262,835,286,859,132" href="#" alt="pics" /> <div id="inline5" style="width:100%;display: none;"> <a class="fancybox5" href="media/photo1.jpg"><img src="media/photo1.jpg" width="400" height="500" /></a> <div class="hidden"> <a class="fancybox5" href="media/photo2.jpg"><img src="media/photo2.jpg" width="400" height="500" /></a> <a class="fancybox5" href="media/photo3.jpg"><img src="media/photo3.jpg" width="400" height="500" /></a> </div> </div> </map>
what doing wrong?
thanks,
w
Comments
Post a Comment