Template:CSU Template 1 top
From 2012.igem.org
(Difference between revisions)
Line 380: | Line 380: | ||
if (pageURL[3] == "Team:Colorado_State") { | if (pageURL[3] == "Team:Colorado_State") { | ||
if (pageURL[4]) { | if (pageURL[4]) { | ||
- | + | var editPageAddress = "https://2012.igem.org/wiki/index.php?title=Team:Colorado_State/" + pageURL[4] + "&action=edit"; | |
} else { | } else { | ||
- | + | var editPageAddress = "https://2012.igem.org/wiki/index.php?title=Team:Colorado_State&action=edit"; | |
} //end if | } //end if | ||
} //end if | } //end if | ||
+ | |||
+ | document.getElementByID('editButton').href = editPageAddress; | ||
</script> | </script> | ||
Line 392: | Line 394: | ||
<div id="content_top"> | <div id="content_top"> | ||
<div id="slideshow"> | <div id="slideshow"> | ||
+ | <a href="" id="editButton"style="position: absolute; z-index: 200; top: 20px; left: 20px;" >Edit page</a> | ||
<img src="https://lh3.googleusercontent.com/-ZigNmO_3Dg4/UAWcIJbtgZI/AAAAAAAAALg/istDqjXyEk8/s832/csu_logo.png" style="position: absolute; z-index: 200; width: 200px; top: 20px; right: 20px;" /> | <img src="https://lh3.googleusercontent.com/-ZigNmO_3Dg4/UAWcIJbtgZI/AAAAAAAAALg/istDqjXyEk8/s832/csu_logo.png" style="position: absolute; z-index: 200; width: 200px; top: 20px; right: 20px;" /> | ||
<img id="slide1" class="slide" src="https://lh4.googleusercontent.com/-icdH9nCgILg/UAWcJDs6qlI/AAAAAAAAAMA/I9cf4OFNE9E/s800/temp1.jpg" style="z-index: 30;" /> | <img id="slide1" class="slide" src="https://lh4.googleusercontent.com/-icdH9nCgILg/UAWcJDs6qlI/AAAAAAAAAMA/I9cf4OFNE9E/s800/temp1.jpg" style="z-index: 30;" /> |
Revision as of 20:01, 18 July 2012
|