我如何在"%“中创造价值。我想得到200%的网站之前的潜水表演和隐藏后。谢谢你的建议!
$(window).scroll(function() {
if ($(this).scrollTop() > {percent:200})
{
$('.box').fadeOut();
}
else
{
$('.box').fadeIn();
}
});发布于 2018-03-27 23:00:21
用2乘以200%的高度
$(window).scroll(function() {
if ($(this).scrollTop() > $(this).height() * 2){
$('.box').fadeOut();
}
else{
$('.box').fadeIn();
}
});https://stackoverflow.com/questions/49523484
复制相似问题