navigation - Add nav dots to fancybox -


i want add basic navigation dots fancybox slideshow.

example here: http://fancyapps.com/fancybox/

but cant work. not sure if editing js in right place.

it's driving me crazy - great.

thanks

here html:

<a class="fancybox-thumb" rel="gallery1" href="images/index/dwayne5.jpg" >                              <!--slideshow image 1-->  <img src="images/index/artfuldogerthumbnail.jpg" alt="main icon" />                           <!--this little image on page--> </a>     <a class="fancybox-thumb"rel="gallery1"href="images/index/artfuldogerthumbnail.jpg" title="colour dodger">                              <!--slideshow image 2-->   </a>   <a class="fancybox-thumb" rel="gallery1"href="images/index/sheree.png" title="">  </a>                             <!--slideshow image 2--> 

****here js****

<script>  $(document).ready(function() {         $(".fancybox-thumb").fancybox({             preveffect  : 'none',             nexteffect  : 'none',             helpers : {                 title   : {                     type: 'outside'                 },                 thumbs  : {                     width   : 50,                     height  : 50                 }             }         });     });      </script>      <script type="text/javascript">         $(document).ready(function() {             $(".fancybox").fancybox();         });          $.fancybox.helpers.thumbs.onupdate = function() {};     <!-- above line stops thumbnails moving) -->   </script> 


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -