Difference between revisions of "Template:Marburg"

 
(40 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<style>
 
<style>
  
/********************************* DEFAULT WIKI SETTINGS  ********************************/
+
#sideMenu, #top_title {display:none;}
 
+
        #content { padding:0px; width:100%; margin-top:-7px; margin-left:0px;}
 
+
body {background-color:white; }
  
 
</style>
 
</style>
 
 
 
 
<!--- THIS IS WHERE THE HTML BEGINS --->
 
 
  
 
<!-- This tells the browser that your page is responsive -->
 
<!-- This tells the browser that your page is responsive -->
  
 
+
<head>
 
+
<meta name="viewport" content="width=device-width, initial-scale=1">
 
+
        <script type="text/javascript" async src="https://2015.igem.org/common/MathJax-2.5-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
 
+
</head>
 
+
 
+
 
+
 
+
 
+
 
+
  
  
Line 38: Line 26:
  
 
$("#HQ_page").attr('id','');
 
$("#HQ_page").attr('id','');
 
  
 
if ( wgPageName.substring( 0,  8) == "Template")  {  // if the page is a template it displays the full name in a single line
 
if ( wgPageName.substring( 0,  8) == "Template")  {  // if the page is a template it displays the full name in a single line
Line 55: Line 42:
 
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
 
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
 
}
 
}
 
 
 
  
 
$('#accordion').find('.menu_item').click(function(){
 
$('#accordion').find('.menu_item').click(function(){
Line 77: Line 61:
 
$(".submenu").not(submenu).hide();
 
$(".submenu").not(submenu).hide();
 
$(".icon").not(icon).removeClass("less").addClass("plus");
 
$(".icon").not(icon).removeClass("less").addClass("plus");
});(Proof of Concept):
+
});
  
  
Line 90: Line 74:
  
 
});
 
});
 
 
 
  
 
</script>
 
</script>
 
  
 
</html>
 
</html>

Latest revision as of 12:43, 22 November 2016