Team:Dundee/HumanPractice/Comic

From 2013.igem.org

(Difference between revisions)
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.setAttribute("style","font-weight:bold")
 
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" style="margin-top:35px;">
+
<div id="wrapper">
<!-- That's the page.  
<!-- That's the page.  
Line 150: Line 149:
<center>
<center>
-
<div id="currentPage" style="margin-top:25px;padding-bottom:25px;"> <p><strong>Viewing Page : 1</strong> </p></div>
+
<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

iGEM Dundee 2013 · ToxiMop

iGEM Dundee Motion Comic | Demo at KyleHarrison.co.uk

Viewing Page : 1