Mercurial > kallithea
diff rhodecode/templates/base/root.html @ 1610:277690a23606 beta
stay-on-top menu
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 29 Oct 2011 02:54:27 +0200 |
parents | 91708b96e991 |
children | bc16d1d0869a |
line wrap: on
line diff
--- a/rhodecode/templates/base/root.html Sat Oct 29 01:40:14 2011 +0200 +++ b/rhodecode/templates/base/root.html Sat Oct 29 02:54:27 2011 +0200 @@ -129,10 +129,16 @@ YUD.addClass(menu,'hidden'); } }) - + YUE.on(window,'scroll',function(){ + if(YUD.getDocumentScrollTop() > 45){ + YUD.addClass('header-inner','hover'); + } + else{ + YUD.removeClass('header-inner','hover'); + } + }) }) </script> - </%def> <%def name="js_extra()"> </%def>