Team:UT-Tokyo/Templates/BeginContent
From 2011.igem.org
(Difference between revisions)
Line 381: | Line 381: | ||
UT_Tokyo.initMenu = function(fullPageName) { | UT_Tokyo.initMenu = function(fullPageName) { | ||
+ | fullPageName..replace(/^\s*(.*?)\s*$/, "$1"); | ||
var idx = this.menuIndexFromFullPageName(fullPageName); | var idx = this.menuIndexFromFullPageName(fullPageName); | ||
this.selectMenuEntry(idx); | this.selectMenuEntry(idx); | ||
Line 415: | Line 416: | ||
//} | //} | ||
- | UT_Tokyo.initMenu('{{{fullpagename}}}') | + | UT_Tokyo.initMenu(' |
+ | </html> | ||
+ | {{{fullpagename}}} | ||
+ | <html> | ||
+ | ') | ||
}); | }); | ||
</script> | </script> | ||
<div id="header"> | <div id="header"> | ||
- | <h1 id="pageTitle">{{{subpagename}}}</h1> | + | <h1 id="pageTitle"> |
+ | </html> | ||
+ | {{{subpagename}}} | ||
+ | <html> | ||
+ | </h1> | ||
<div id="headerLogo"> | <div id="headerLogo"> | ||
<img src="https://static.igem.org/mediawiki/2011/5/5c/UT-Tokyo_logo.png" alt="logo" /><h1>iGEM UT-Tokyo</h1> | <img src="https://static.igem.org/mediawiki/2011/5/5c/UT-Tokyo_logo.png" alt="logo" /><h1>iGEM UT-Tokyo</h1> |
Revision as of 18:37, 24 August 2011