简体   繁体   中英

window scroll not working properlt in mozila latest version?

i am using firefox 10.0.2 and the code

jQuery(document).ready(function(){
jQuery(window).scroll(function(){
    if (jQuery(window).scrollTop() == jQuery(document).height() -  jQuery(window).height()){
        load_more();
            }
        });
    });

using for window scrool it execute successfully but during execution time my window dip(means show black screen) what is the problem its working fine in privious version.

I concur I see this will lock up any website with jQuery on it when ran in Firefox 10.0.2 (Mac):

$(window).bind('scroll', function(){
   alert(1);
});

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