Advertisement
Guest User

Random slideshow in NextGEN Gallery

a guest
May 23rd, 2012
474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.70 KB | None | 0 0
  1. <!-- X  =   width of your slideshow -->
  2. <!-- Y  =   height of your slideshow -->
  3. <!-- {URL} =    base url of your wordpress installation. For example
  4.         for me {URL} = 'http://localhost/wordpess' -->
  5.  
  6. <div id="ngg-slideshow" class="ngg-widget-slideshow" style="width:X;height:Y;">            
  7.     <div id="ngg-slideshow-loader" class="ngg-slideshow-loader" style="width:X;height:Y;">
  8.         <img src="{URL}/wp-content/plugins/nextgen-gallery/images/loader.gif" style="width:66px;height:66px;" alt="" />
  9.     </div>
  10. </div>
  11. <script type="text/javascript" defer="defer">
  12.     jQuery(document).ready(function(){
  13.         jQuery("#ngg-slideshow").nggSlideshow( {id: 0,fx:"fade",width:X,height:Y,domain: "{URL}",timeout:3000});
  14.     });
  15. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement