(function($) { $(document).ready(function() { var sldshow = $('#slideshow'); sldshow.css('height', '400'); $( window ).on('load', function() { // Initialise Slideshow ( function .plumeSlider() ) // ---------------------------------------------------- sldshow.plumeSlider({ // options 'width': 'full', // full or customized width (only number - in pixels) 'height': '400', // full or customized height (only number - in pixels) 'type': 'fading', // fading or carousel 'interval': 5000, // the time that each slide remains on the screen 'transition': 1000, // the time of slide transitions 'autoplay': true, // automatic slide transitions (after 'interval', go to the next) 'invert': false // show the last slide as the first }); // ---------------------------------------------------- }); }); })(jQuery);