Team:UT Dallas/Notebook
From 2012.igem.org
(Difference between revisions)
Line 26: | Line 26: | ||
height:540px; | height:540px; | ||
margin-top: 5px; | margin-top: 5px; | ||
- | left: - | + | left: -155px; |
} | } | ||
#boook #lab_notebook{color:#000000;} | #boook #lab_notebook{color:#000000;} | ||
Line 95: | Line 95: | ||
</div> | </div> | ||
<div id='middle_box'> | <div id='middle_box'> | ||
- | |||
- | |||
- | |||
- | |||
<div id="book" style="overflow:hidden;"> | <div id="book" style="overflow:hidden;"> | ||
<div id='book_cover' class="cover"> | <div id='book_cover' class="cover"> | ||
Line 120: | Line 116: | ||
</div> | </div> | ||
</div> | </div> | ||
- | </div | + | </div> |
- | + | ||
- | + | ||
- | + | ||
</div> | </div> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
Line 163: | Line 156: | ||
{ | { | ||
$('#book').animate({ | $('#book').animate({ | ||
- | left: ' | + | left: '110px' |
}, 500, function() { | }, 500, function() { | ||
$('#book_contents').html($('#book_cover').html()); | $('#book_contents').html($('#book_cover').html()); | ||
Line 172: | Line 165: | ||
$("#book").bind("first", function(event) { | $("#book").bind("first", function(event) { | ||
$('#book').animate({ | $('#book').animate({ | ||
- | left: '- | + | left: '-155px' |
}, 500, function() { | }, 500, function() { | ||
$('#book_cover').html($('#book_contents').html()); | $('#book_cover').html($('#book_contents').html()); | ||
Line 180: | Line 173: | ||
$("#book").bind("last", function(event) { | $("#book").bind("last", function(event) { | ||
$('#book').animate({ | $('#book').animate({ | ||
- | left: '- | + | left: '-155px' |
}, 500, function() { | }, 500, function() { | ||
$('#book_cover').html($('#book_contents').html()); | $('#book_cover').html($('#book_contents').html()); |
Revision as of 06:38, 28 September 2012