小编Mag*_*Mag的帖子

jquery : detecting scroll position

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)

http://jsfiddle.net/JRUnr/10/

All conditions with height seem right, but not during scrolling.

javascript jquery scroll footer

24
推荐指数
1
解决办法
5万
查看次数

aptana - 更改代码的字体大小并启用类助手

我最近从dreamweaver搬到了aptana并试图让aptana尽可能地相似;)

有很多变化,但我仍然找不到使代码字体更小的方法(在Dreamweaver代码中更易读的cos字体不是那么大)

更重要的是:有没有办法打开课堂建议?你知道 - 当你有数百万个自定义类时,例如你键入:

我不能在任何地方打算;(任何帮助欣赏:)

aptana font-size

17
推荐指数
2
解决办法
2万
查看次数

标签 统计

aptana ×1

font-size ×1

footer ×1

javascript ×1

jquery ×1

scroll ×1