Team:ETH Zurich/Templates/HeaderNew
From 2011.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
<script type="text/javascript" src="/wiki/images/c/c4/Jquery.swfobject.1-1-1.min.txt"></script> | <script type="text/javascript" src="/wiki/images/c/c4/Jquery.swfobject.1-1-1.min.txt"></script> | ||
<script type="text/javascript" src="http://cdn.jquerytools.org/1.2.6/tiny/jquery.tools.min.js"></script> | <script type="text/javascript" src="http://cdn.jquerytools.org/1.2.6/tiny/jquery.tools.min.js"></script> | ||
- | + | <link rel="stylesheet" href="https://2011.igem.org/Team:ETH_Zurich/Templates/StyleSheetNew?action=raw&ctype=text/css" type="text/css" /> | |
<script type="text/javascript"> | <script type="text/javascript"> | ||
/* | /* | ||
Line 425: | Line 425: | ||
} | } | ||
+ | |||
+ | /* ------------------------------- */ | ||
+ | /* ------------------------------- */ | ||
+ | /* ------------------------------- */ | ||
+ | /* ------------------------------- */ | ||
+ | |||
+ | #navi,.navi | ||
+ | { | ||
+ | height: 35px; | ||
+ | width: 100%; | ||
+ | } | ||
+ | .navi | ||
+ | { | ||
+ | z-index: 1; | ||
+ | box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); | ||
+ | -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); /* for the Safari browser */ | ||
+ | position: relative; | ||
+ | border-bottom: 1px solid #000000; | ||
+ | } | ||
+ | .stickToTop | ||
+ | { | ||
+ | position: fixed; | ||
+ | top:0; | ||
+ | width:100%; | ||
+ | } | ||
</html> {{{css|}}} <html> | </html> {{{css|}}} <html> | ||
</style> | </style> | ||
- | + | <div class="navi stickToTop"> | |
- | < | + | <ul class="dropdown dropdown-horizontal"> |
<li class="first"><a href="./">Home</a></li> | <li class="first"><a href="./">Home</a></li> | ||
Line 520: | Line 545: | ||
</li> | </li> | ||
</ul> | </ul> | ||
- | + | </div> | |
<div id="preload"> | <div id="preload"> |
Revision as of 16:18, 14 October 2011