Difference between revisions of "Template:Marburg"

 
(57 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
  
 +
<style>
  
 +
#sideMenu, #top_title {display:none;}
 +
        #content { padding:0px; width:100%; margin-top:-7px; margin-left:0px;}
 +
body {background-color:white; }
  
 +
</style>
  
 +
<!-- This tells the browser that your page is responsive -->
  
 
+
<head>
<!--- THIS IS WHERE THE HTML BEGINS --->
+
<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 22: 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 39: 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 61: 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 74: Line 74:
  
 
});
 
});
 
 
 
  
 
</script>
 
</script>
 
  
 
</html>
 
</html>

Latest revision as of 12:43, 22 November 2016