Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
$(function(){
2
    window.prettyPrint && prettyPrint();
3
}(window.jQuery));
4
 
5
jQuery(document).ready(function($) {
6
 
7
        //Download Link Highlight
8
        if($("body").data("page")==="frontpage"){
9
                $(window).scroll(function(){
10
                        var scrolled = $(window).scrollTop();
11
                    var downloadLink = $("#top-nav").find(".download")
12
                    if(scrolled >= 420){
13
                        downloadLink.addClass("download-on");
14
                    } else if (scrolled < 420){
15
                        downloadLink.removeClass("download-on");
16
                    }
17
                })
18
        }
19
 
20
        $('#myTab a').click(function (e) {
21
          e.preventDefault();
22
          $(this).tab('show');
23
        })
24
 
25
 
26
});