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: -165px;
+
         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'>
-
<table cellpadding="0" cellspacing="0" border="1">
 
-
<tr>
 
-
<td width="110px" valign="top" id='book_contents'></td>
 
-
<td>
 
<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>
-
</td>
+
-
</tr>
+
-
</table>
+
</div>
</div>
<script type="text/javascript">
<script type="text/javascript">
Line 163: Line 156:
{
{
  $('#book').animate({
  $('#book').animate({
-
left: '0px'
+
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: '-265px'
+
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: '-265px'
+
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