$(document).ready(function(){ $('#yw_slider_2179').bxSlider({ mode: 'fade', auto: true, captions: true, speed: 1000, pause: 3000 }); });