diff options
author | Ugnich Anton | 2014-01-31 01:01:48 +0700 |
---|---|---|
committer | Ugnich Anton | 2014-01-31 01:01:48 +0700 |
commit | 80dc112383a88def23eb95e34e3d7f739994bd3b (patch) | |
tree | 6bc9ee932110dc046df801ae6f1b65c217f55c94 /web/scripts3.js | |
parent | 45bc7349af0696b9c68266feece63d7359260cec (diff) |
New header design
Diffstat (limited to 'web/scripts3.js')
-rw-r--r-- | web/scripts3.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/web/scripts3.js b/web/scripts3.js index b71eef16..723e3d76 100644 --- a/web/scripts3.js +++ b/web/scripts3.js @@ -833,28 +833,6 @@ $(document).ready(function() { $(this).off('click'); }); - if(!!$('#column').offset()) { - var stickyTop = $('#column').offset().top; - $(window).scroll(function() { - var windowTop = $(window).scrollTop(); - var column=$('#column'); - var rcol=$('#rcol'); - if (stickyTop < windowTop) { - if(column.hasClass('fix')==false) { - column.removeClass('abs'); - column.addClass('fix'); - rcol.removeClass('abs'); - rcol.addClass('fix'); - } - } else if(column.hasClass('fix')==true) { - column.removeClass('fix'); - column.addClass('abs'); - rcol.removeClass('fix'); - rcol.addClass('abs'); - } - }); - } - unfoldReply(); $(window).bind('hashchange',unfoldReply); |