Team:Dundee/HumanPractice/Comic

From 2013.igem.org

(Difference between revisions)
Line 26: Line 26:
$(document).ready(function() {  
$(document).ready(function() {  
-
var windowWidth  = $(window).width,
+
//var windowWidth  = $(window).width,
-
    windowHeight = $(window).height;
+
//    windowHeight = $(window).height;
$('#text').html('<strong>Welcome to this little demo.</strong><br>Please reload if you see no image. Click in the image, use the buttons below or the arrow buttons on your keyboard.');
$('#text').html('<strong>Welcome to this little demo.</strong><br>Please reload if you see no image. Click in the image, use the buttons below or the arrow buttons on your keyboard.');
Line 183: Line 183:
It's important to set the width & height attributes,
It's important to set the width & height attributes,
otherwise the image doesn't load in Webkit browsers -->
otherwise the image doesn't load in Webkit browsers -->
-
<img id="comicpage" src="http://www.kyleharrison.co.uk/igem/Comic/demo/page-0.jpg" width="1300" height="1838" >
+
<img id="comicpage" src="http://www.kyleharrison.co.uk/igem/Comic/demo/page-0.jpg" width="100%" height="100%" >
<!-- Optional: The demo textbox -->
<!-- Optional: The demo textbox -->

Revision as of 00:28, 2 September 2013

iGEM Dundee 2013 · ToxiMop

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

Page : 1