问题描述:

This script is not working in Mozilla

$('body').animate({ scrollTop: $("body").find(".Pickup").offset().top - 200 }, 'slow');

What i have to do?

网友答案:

Firefox places the overflow at the html level, unless specifically styled to behave differently.

To get it to work in Firefox, use

$('body,html').animate( ... );
相关阅读:
Top