$(document).ready(function($) { $(window).bind("load", function() { $('.dt_fullscreenslider').dtFullScreenSlider({ 'height': 300, 'autoAdvance': true, 'autoAdvDuration': 600, 'autoAdvInterval': 5000, 'showArrows': false, 'keyboardControl': true, 'showGallery': false, 'showDescription': false, 'bgPosition': 'center center', 'bgRepeat': 'no-repeat' }); }); });