I want to get an alert when, while scrolling, my footer comes to view.
$(window).on("mousewheel", function(){
if ($(window).scrollTop() + $(window).height() > $('#footer').position().top){
alert("footer visible");
}
else{
alert("footer invisible");
}
});
Run Code Online (Sandbox Code Playgroud)
All conditions with height seem right, but not during scrolling.
我最近从dreamweaver搬到了aptana并试图让aptana尽可能地相似;)
有很多变化,但我仍然找不到使代码字体更小的方法(在Dreamweaver代码中更易读的cos字体不是那么大)
更重要的是:有没有办法打开课堂建议?你知道 - 当你有数百万个自定义类时,例如你键入:
我不能在任何地方打算;(任何帮助欣赏:)