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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -