Template:Biomod/2012/TU Dresden/Nanosaurs/Header: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
<link href='http://fonts.googleapis.com/css?family=Merriweather:400,700' rel='stylesheet' type='text/css'> | <link href='http://fonts.googleapis.com/css?family=Merriweather:400,700' rel='stylesheet' type='text/css'> | ||
<link href='http://dl.dropbox.com/s/6x4aw0yhvpce6jz/Light.css' rel='stylesheet' type='text/css'> | <link href='http://dl.dropbox.com/s/6x4aw0yhvpce6jz/Light.css' rel='stylesheet' type='text/css'> | ||
<link href='http://dl.dropbox.com/s/hj8l0glgd1c1z3l/nivo-slider.css rel='stylesheet' type='text/css'> | <link href='http://dl.dropbox.com/s/hj8l0glgd1c1z3l/nivo-slider.css' rel='stylesheet' type='text/css'> | ||
<link href='https://dl.dropbox.com/s/98taaetqgcabhl2/superfish.css' rel='stylesheet' type='text/css'> | |||
<script type"text/javascript"> | <script type"text/javascript"> | ||
Line 62: | Line 64: | ||
<!-- nav --> | <!-- nav --> | ||
<div id="nav"> | <div id="nav"> | ||
<ul id="nav" class="sf-menu"> | |||
<li><a href="#">home</a></li> | |||
<li><a href="#">team</a></li> | |||
<li><a href="#">project</a> | |||
<ul> | |||
<li><a href="#">idea</a></li> | |||
<li><a href="#">description</a></li> | |||
<li><a href="#">theory</a></li> | |||
<li><a href="#">results</a></li> | |||
<li><a href="#">references</a></li> | |||
</ul> | |||
</li> | |||
<li><a href="#">notebook</a> | |||
<ul> | |||
<li><a href="#">meetings</a></li> | |||
<li><a href="#">lab protocols</a></li> | |||
</ul> | |||
</li> | |||
<li><a href="#">outreach</a></li> | |||
<li><a href="#">gallery</a></li> | |||
<li><a href="#">sponsors</a></li> | |||
</ul> | </ul> | ||
< | </div> | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 05:49, 21 October 2012
<html> <!--import jquery libraries--> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <script type="text/javascript" src="http://dl.dropbox.com/s/fa87eh50zvh51sh/jquery.queryloader2.js"></script> <!-- progress preloading--> <script type="text/javascript" src="http://dl.dropbox.com/s/hl66ufoubiyyzj9/superfish.js"></script> <!-- menu bar--> <script type="text/javascript" src="http://dl.dropbox.com/s/1zn3fwk61zo5zl7/jquery.hoverIntent.minified.js"></script> <!-- replaces hover for navigation-->
<!--import webfonts--> <link href='http://fonts.googleapis.com/css?family=Merriweather:400,700' rel='stylesheet' type='text/css'> <link href='http://dl.dropbox.com/s/6x4aw0yhvpce6jz/Light.css' rel='stylesheet' type='text/css'> <link href='http://dl.dropbox.com/s/hj8l0glgd1c1z3l/nivo-slider.css' rel='stylesheet' type='text/css'> <link href='https://dl.dropbox.com/s/98taaetqgcabhl2/superfish.css' rel='stylesheet' type='text/css'>
<script type"text/javascript">
// Main function that waits for the browser to be ready
$(document).ready(function(){
//make css accesible, please change the alter_css to chnage the style
$("body").queryLoader2();
var alter_css = $("#alter_css").html();
$("style").remove();
$('head').append('<link rel="stylesheet" href="/skins/monobook/shared.css?164" type="text/css" />');
$('head').append('<link rel="stylesheet" href="http://dl.dropbox.com/sh/0msyro9qoqo06s6/xcIgU48EXN/nanos.css" type="text/css" />');
//additional divs
$(".firstHeading").wrap('<div id="header"></div>');
$(".firstHeading").wrap('<div id="inner_header"></div>');
$(".firstHeading").wrap('<div id="title_con"></div>');
var nav = $("#nav").html();
$('#inner_header').append(nav);
$('#inner_header').append('<div class="clear"></div>');
//clean up wiki framework
$("#sidebar-main").remove();
$(".portlet").remove();
//fix breadcrumbs
var breadcrumbs = $('#contentSub').remove();
breadcrumbs.appendTo('#header');
var bread = $("#contentSub").html().replace(/\|/g,">").replace(">TU Dresden/Nanosaurs</a>",">Nanosaurs</a>").replace("< ","");
$(".subpages").replaceWith(bread);
//fix heading
var h1 = $(".firstHeading").text().split("/");
$(".firstHeading").text(h1[h1.length-1]);
//start plugins for navigation
$("ul.sf-menu").superfish({
delay: 200, // one second delay on mouseout
animation: {opacity:'show',height:'show'}, // fade-in and slide-down animation
speed: 'normal', // faster animation speed
});
});
</script>
<script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-35720700-1']); _gaq.push(['_trackPageview']);
(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>
<script id="nav"> <!-- nav --> <div id="nav"> <ul id="nav" class="sf-menu"> <li><a href="#">home</a></li> <li><a href="#">team</a></li> <li><a href="#">project</a> <ul> <li><a href="#">idea</a></li> <li><a href="#">description</a></li> <li><a href="#">theory</a></li> <li><a href="#">results</a></li> <li><a href="#">references</a></li> </ul> </li> <li><a href="#">notebook</a> <ul> <li><a href="#">meetings</a></li> <li><a href="#">lab protocols</a></li> </ul> </li> <li><a href="#">outreach</a></li> <li><a href="#">gallery</a></li> <li><a href="#">sponsors</a></li> </ul> </div> </script>
</html>