Template:Biomod/2012/TU Dresden/Nanosaurs/Header: Difference between revisions
No edit summary |
No edit summary |
||
| Line 21: | Line 21: | ||
$("style").remove(); | $("style").remove(); | ||
$('head').append('<link rel="stylesheet" href="/skins/monobook/shared.css?164" type="text/css" />'); | $('head').append('<link rel="stylesheet" href="/skins/monobook/shared.css?164" type="text/css" />'); | ||
$('head').append('<link rel="stylesheet" href=" | $('head').append('<link rel="stylesheet" href="https://docs.google.com/uc?export=download&confirm=no_antivirus&id=0B6HkcU_cdV7yVHRpM2YxaVk4dG8" type="text/css" />'); | ||
//additional divs | //additional divs | ||
$(".firstHeading").wrap('<div id="header"></div>'); | $(".firstHeading").wrap('<div id="header"></div>'); | ||
Revision as of 15:48, 26 October 2012
<html> <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> <script type="text/javascript" src="http://dl.dropbox.com/s/hl66ufoubiyyzj9/superfish.js"></script> <script type="text/javascript" src="http://dl.dropbox.com/s/1zn3fwk61zo5zl7/jquery.hoverIntent.minified.js"></script>
<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='http://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="https://docs.google.com/uc?export=download&confirm=no_antivirus&id=0B6HkcU_cdV7yVHRpM2YxaVk4dG8" type="text/css" />');
//additional divs
$(".firstHeading").wrap('
'); $(".firstHeading").wrap('
'); $(".firstHeading").wrap('
');
var nav = $("#nav").html(); $('#inner_header').append(nav);
$('#inner_header').append('
');
//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);
$('#contentSub').append('
'); $('#contentSub').append('
');
//fix heading var h1 = $(".firstHeading").text().split("/"); $(".firstHeading").text(h1[h1.length-1]); //start plugins for navigation $("ul.sf-menu").superfish({ delay: 800, // 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 type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script> <script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-508414b242f27ceb"></script> <script id="nav">
</script>
</html>