Team:Dundee/HumanPractice/Comic
From 2013.igem.org
(Difference between revisions)
Kyleharrison (Talk | contribs) |
Kyleharrison (Talk | contribs) |
||
Line 107: | Line 107: | ||
comicpage.setAttribute("src", "http://www.kyleharrison.co.uk/igem/Comic/demo/page-"+counter+".jpg"); | comicpage.setAttribute("src", "http://www.kyleharrison.co.uk/igem/Comic/demo/page-"+counter+".jpg"); | ||
document.getElementById("currentPage").innerHTML = "Viewing Page : "+(counter+1); | document.getElementById("currentPage").innerHTML = "Viewing Page : "+(counter+1); | ||
- | |||
document.getElementById("comicpage").style.height="100%"; | document.getElementById("comicpage").style.height="100%"; | ||
document.getElementById("comicpage").style.width="100%"; | document.getElementById("comicpage").style.width="100%"; | ||
Line 142: | Line 141: | ||
- | <div id="wrapper | + | <div id="wrapper"> |
<!-- That's the page. | <!-- That's the page. | ||
Line 150: | Line 149: | ||
<center> | <center> | ||
- | <div id="currentPage" style="margin-top: | + | <div id="currentPage" style="margin-top:15px;padding-bottom:15px;"> <p><strong>Viewing Page : 1</strong> </p></div> |
<button class="btn btn-primary btn-large" style="margin-right:15px;" onclick="decrementComicCounter()">Previous Page</button> | <button class="btn btn-primary btn-large" style="margin-right:15px;" onclick="decrementComicCounter()">Previous Page</button> | ||
<button class ="btn btn-primary btn-large" onclick="incrementComicCounter()">Next Page</button> | <button class ="btn btn-primary btn-large" onclick="incrementComicCounter()">Next Page</button> |
Revision as of 14:05, 3 September 2013
University of Dundee 2013 iGEM team presents... THE TOXIMOP
Viewing Page : 1