Advertisement
deliciousthemes

Haze - Nivo Slider Options

Jul 6th, 2012
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //nivo-slider
  2. jQuery(window).load(function() {
  3.  
  4. if (document.documentElement.clientWidth > 768) {
  5.  
  6.     jQuery('#slider').nivoSlider({
  7.         afterLoad: function(){
  8.         var $slider = jQuery('#slider');
  9.         $slider.css('opacity',0);
  10.         jQuery('#preloader').fadeOut(500, function(){
  11.            $slider.animate({'opacity':1}, 500);
  12.         });
  13.     },
  14.    
  15.     controlNav: false,
  16.     captionOpacity: 0,
  17.     directionNav: false,
  18.     animSpeed: 5000000
  19.     });
  20.    
  21. }
  22. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement