Advertisement
deliciousthemes

Haze - Nivo Slider Options

Jul 23rd, 2012
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 1.00 KB | None | 0 0
  1. //nivo-slider
  2. jQuery(window).load(function() {
  3.  
  4. if (document.documentElement.clientWidth > 768) {
  5.  
  6.     jQuery('#slider').nivoSlider({
  7.    
  8.         effect: 'random',
  9.         slices: 1,
  10.         boxCols: 8,
  11.         boxRows: 4,
  12.         animSpeed: 500,
  13.         pauseTime: 3000,
  14.         startSlide: 0,
  15.         directionNav: true,
  16.         directionNavHide: true,
  17.         controlNav: true,
  18.         controlNavThumbs: false,
  19.                 controlNavThumbsFromRel: false,
  20.         controlNavThumbsSearch: '.jpg',
  21.         controlNavThumbsReplace: '_thumb.jpg',
  22.         keyboardNav: true,
  23.         pauseOnHover: true,
  24.         manualAdvance: false,
  25.         captionOpacity: 0.8,
  26.         prevText: 'Prev',
  27.         nextText: 'Next',
  28.         randomStart: false,
  29.         beforeChange: function(){},
  30.         afterChange: function(){},
  31.         slideshowEnd: function(){},
  32.                 lastSlide: function(){},
  33.    
  34.         afterLoad: function(){
  35.         var $slider = jQuery('#slider');
  36.         $slider.css('opacity',0);
  37.         jQuery('#preloader').fadeOut(500, function(){
  38.            $slider.animate({'opacity':1}, 500);
  39.         });
  40.     }
  41.     });
  42.    
  43. }
  44. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement