Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Include Page
main_menu
main_menu

HTML
<style>

.submenu {
    margin-left: -15px14px; /* Отступ от левого края сайта */
    margin-right: auto;
    margin-top: -110px105px; /* Отступ от верхнего края сайта */
    width: 470px450px; /* длина строки меню*/
    position: absolutefixed;
    z-index: 1999;
}

#nav2, #nav2 ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
#nav2 {
    background-color: white; /* Цвет полосы меню - белый*/
    float: left;
    margin-left: 15px10px;
    margin-right: 1%;
    width: 100%; /* длина строки меню*/
    position: relative;
}

#nav2 > li {
	position: relative;
    /* float: left; */
    text-align: left;
    -moz-transition: all 300ms ease-in-out 0s;
    -ms-transition: all 300ms ease-in-out 0s;
    -o-transition: all 300ms ease-in-out 0s;
    -webkit-transition: all 300ms ease-in-out 0s;
    transition: all 300ms ease-in-out 0s;
}
#nav2 li a {
    display: block;
    text-decoration: none;
    -moz-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
    -ms-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
    -o-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
    -webkit-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
    transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
    white-space: normal;
}
#nav2 > li > a {
    color: #3b73af;
    display: block;
    font-size: 1.0em; /* Размер шрифта главного меню */
    line-height: 39px;
    padding: 0 10px;
    /* text-transform: uppercase; */
}
#nav2 > li:hover > a, #nav > a:hover {
    background-color: #3b73af; /* фон выделенного элемента подменю */
    color: #FFFFFF;
}
#nav2 li.active > a {
    background-color: #205081; /* Цвет блока меню при клике курсором мыши - голубой */
    color: #FFFFFF;
}

</style>
HTML
<div class="submenu">
	<ul id="nav2">
		<li><img border="0" src<li><a href="http://www.teamlead.ru/download/attachments/128516734/logoJIRAPNG.png?api=v2" height="33px"></li>pages/viewpage.action?pageId=5898307">Atlassian</a>
		<li><a href="">Обзор</a></li>
		<li><a href="">Функции<http://www.teamlead.ru/pages/viewpage.action?pageId=130287186">Teamlead</a></li>
		<li><a href="">Стоимость<http:/a></li>
		<li><a href="">Демо</a></li>
        <li><a href="">Документация</www.teamlead.ru/pages/viewpage.action?pageId=130287103">Marketplace</a></li>
       	</ul>
	</div>
</div>