Mercurial > kallithea
comparison rhodecode/templates/base/root.html @ 2001:93d4e3eb7d84 beta
made upper menu always hover, looks nicer and produces less troubles
- added notification inbox into quick menu
- commented yet innactive compose message button
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 19 Feb 2012 19:36:42 +0200 |
parents | 049bc911b04f |
children | 9d54d6516e2e |
comparison
equal
deleted
inserted
replaced
2000:72c525a7e7ad | 2001:93d4e3eb7d84 |
---|---|
121 if(usr){ | 121 if(usr){ |
122 usr.focus(); | 122 usr.focus(); |
123 } | 123 } |
124 } | 124 } |
125 }); | 125 }); |
126 | |
127 // hover menu | |
128 YUE.on(window,'scroll',function(){ | |
129 if(YUD.getDocumentScrollTop() > 45){ | |
130 YUD.addClass('header-inner','hover'); | |
131 } | |
132 else{ | |
133 YUD.removeClass('header-inner','hover'); | |
134 } | |
135 }) | |
136 }) | 126 }) |
137 </script> | 127 </script> |
138 </%def> | 128 </%def> |
139 <%def name="js_extra()"></%def> | 129 <%def name="js_extra()"></%def> |
140 ${self.js()} | 130 ${self.js()} |