简体   繁体   中英

Bx slider start after the page is loaded

I have a problem on my BXSLIDER. I want this to run after the page is loaded. I have used the onSliderLoad parameter but I don't know what to be added inside of this function.

Any help would be very appreciated. Here's my code below.

jQuery( document ).ready( function( $ ){
    $( '.home-bxslider' ).bxSlider({
        auto: false, 
        speed: 2500, 
        onSliderLoad: function(){
            setTimeout( function(){ 
                 // this will allow to start the slider after the page is loaded.
            }, 100 ); 
        }
    });   
}); 

Thanks guys .. I already solve my problem. For those who are interested on this issue, try visit my demo below

JSFIDDLE DEMO

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM