(18 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<style> | <style> | ||
− | |||
− | |||
#sideMenu, #top_title {display:none;} | #sideMenu, #top_title {display:none;} | ||
− | + | #content { padding:0px; width:100%; margin-top:-7px; margin-left:0px;} | |
body {background-color:white; } | body {background-color:white; } | ||
− | |||
</style> | </style> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- This tells the browser that your page is responsive --> | <!-- This tells the browser that your page is responsive --> | ||
Line 22: | Line 13: | ||
<head> | <head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | <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> | </head> | ||
Line 34: | 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 51: | 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 86: | Line 74: | ||
}); | }); | ||
− | |||
− | |||
− | |||
</script> | </script> | ||
− | |||
</html> | </html> |
Latest revision as of 12:43, 22 November 2016