Team:Uppsala/notebook

From 2013.igem.org

(Difference between revisions)
Line 12: Line 12:
<link rel="shortcut icon" href="https://static.igem.org/mediawiki/2013/6/6d/Uppsalas-cow-con.png" type="image/x-icon">
<link rel="shortcut icon" href="https://static.igem.org/mediawiki/2013/6/6d/Uppsalas-cow-con.png" type="image/x-icon">
<style></style>
<style></style>
 +
 +
<script type="text/javascript">
 +
/*Acts once the document is loaded*/ $(document).ready(function() { /*Move the tn-main-wrap as child of <body>*/ $("#tn-main-wrap-wrap").prependTo($("body")); /*Move the menubars in the tn-main-wrap*/ $("#menubar.left-menu").appendTo($("#tn-main-wrap")); $("#menubar.right-menu").appendTo($("#tn-main-wrap"));
 +
/*Spoiler JS*/ $(".tn-spoiler div").slideUp(); $(".tn-spoiler a").click(function(e) { e.preventDefault(); $(".tn-spoiler-active").removeClass("tn-spoiler-active"); $(this).parent().addClass("tn-spoiler-active"); $(".tn-spoiler").not(".tn-spoiler-active").children("div").slideUp(); $(".tn-spoiler-active").children("div").slideToggle(); });
 +
/*Add favicon*/ $("link[rel='shortcut icon']").remove(); $("head").append("<link rel='shortcut icon' type='image/png' href='https://static.igem.org/mediawiki/2013/6/6d/Uppsalas-cow-con.png'>"); });
 +
</script>

Revision as of 20:14, 3 October 2013