开发者

jQuery - Fixed Navigation not working in IE

I am working from this tutorial: http://www.distractedbysquirrels.com/blog/one-page-layout-with-fixed-navigation-and-jquery/

Here is the demo: http://demo.distractedbysquirrels.com/one_page_fixed_nav/

It does not work in Internet Explorer - does anyo开发者_开发技巧ne have any idea how to fix it to work in IE?

Thanks Zach


The only issue I can see is the lack of a console.log facility that may annoy IE. This could be patched up by adding this code fragment:

<script type="text/javascript">
    if(typeof console === "undefined") {
        console = {
            log: function() { }
        };
    }
</script>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜