Team:UNIK Copenhagen/Signe/Home
From 2013.igem.org
(Difference between revisions)
Line 39: | Line 39: | ||
position: relative; | position: relative; | ||
width: 935px; | width: 935px; | ||
- | height: | + | height: 350px; |
background-color: rbga(255, 255, 255, 0.5); | background-color: rbga(255, 255, 255, 0.5); | ||
margin: 0px auto 0px auto; | margin: 0px auto 0px auto; | ||
Line 61: | Line 61: | ||
float: left; | float: left; | ||
width: 935px; | width: 935px; | ||
- | height: | + | height: 350px; |
z-index: inherit; | z-index: inherit; | ||
} | } | ||
Line 109: | Line 109: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | var Width = | + | var Width = 935, slidePos = 1; |
$('#photo1').click(function(){ | $('#photo1').click(function(){ | ||
Line 128: | Line 128: | ||
$('#subcontainer').animate({ | $('#subcontainer').animate({ | ||
left: '-='+slideDistance | left: '-='+slideDistance | ||
- | }, | + | }, 935, 'linear'); |
} | } | ||
}); | }); |
Revision as of 18:48, 27 August 2013