JourneyJoker/static/frontend/js/custom-flex.js

23 lines
409 B
JavaScript
Raw Normal View History

2020-01-22 17:32:13 +00:00
(function($) {
"use strict";
// Cache Selectors
var mainWindow =$(window),
myBody =$('body'),
mainSlider =$('.flexslider');
// Flex Slider
mainWindow.on('load', function(){
mainSlider.flexslider({
animation: "slide",
start: function(slider){
myBody.removeClass('loading');
},
flexDirectionNav: false,
controlNav: false,
});
});
})(jQuery);