js實現滾動條下拉到一定程度固定結算欄

實現效果如下:       js代碼實現如下: var a = $("body").height(); var b = $(window).height(); var c = a - b - $(".footer").height(); $(window).scroll(function() { if ($(window).scrollTop() > c) { $(".j
相關文章
相關標籤/搜索