1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-02 22:45:02 +03:00

Фикс меню

This commit is contained in:
Denis Shakhov 2012-07-07 14:49:56 +07:00
parent 4086eb603a
commit 4beee58233
2 changed files with 1 additions and 9 deletions

View file

@ -104,8 +104,7 @@
/* Nav Main */
.nav.nav-main { float: left; height: 51px; overflow: hidden; display: none; }
.no-js .nav.nav-main { display: block; }
.nav.nav-main { height: 51px; overflow: hidden; }
.nav.nav-main li { margin-right: 22px; position: relative; height: 51px; line-height: 49px; }
.nav.nav-main li a { color: #cfcfcf; text-decoration: none; }
.nav.nav-main li a:hover { color: #aaa; }

View file

@ -4,13 +4,6 @@
<h1 class="site-name"><a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a></h1>
<script type="text/javascript">
jQuery(window).load(function () {
jQuery('#nav-main').width(jQuery('#header').width() - jQuery('#header').find('h1.site-name').outerWidth(true) - 1).css('display','block');
});
</script>
<ul class="nav nav-main" id="nav-main">
<li {if $sMenuHeadItemSelect=='blog'}class="active"{/if}><a href="{cfg name='path.root.web'}">{$aLang.topic_title}</a> <i></i></li>
<li {if $sMenuHeadItemSelect=='blogs'}class="active"{/if}><a href="{router page='blogs'}">{$aLang.blogs}</a> <i></i></li>