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: -155px;
+
         left: -265px;
}
}
#boook #lab_notebook{color:#000000;}
#boook #lab_notebook{color:#000000;}
Line 93: Line 93:
{{:Team:UT_Dallas/Template:menu}}<html>
{{:Team:UT_Dallas/Template:menu}}<html>
</div>
</div>
-
<div id='middle_box' style="overflow:hidden;">
+
<div id='middle_box'>
-
<div id="book">
+
<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_cover' class="cover">
<div id='book_cover' class="cover">
<div id="july">
<div id="july">
Line 115: Line 119:
</div>
</div>
</div>
</div>
-
</div>
+
</div>
 +
</td>
 +
</tr>
 +
</table>
</div>
</div>
<script type="text/javascript">
<script type="text/javascript">
Line 155: Line 162:
{
{
  $('#book').animate({
  $('#book').animate({
-
left: '110px'
+
left: '0px'
  }, 500, function() {
  }, 500, function() {
-
//anim complete
+
$('#book_contents').html($('#book_cover').html());
 +
$('#book_cover').html("");
  });
  });
}
}
Line 163: Line 171:
$("#book").bind("first", function(event) {
$("#book").bind("first", function(event) {
$('#book').animate({
$('#book').animate({
-
left: '-155px'
+
left: '-265px'
  }, 500, function() {
  }, 500, function() {
-
//anim complete
+
$('#book_cover').html($('#book_contents').html());
 +
$('#book_contents').html("");
  });
  });
});
});
$("#book").bind("last", function(event) {
$("#book").bind("last", function(event) {
$('#book').animate({
$('#book').animate({
-
left: '-155px'
+
left: '-265px'
  }, 500, function() {
  }, 500, function() {
-
//anim complete
+
$('#book_cover').html($('#book_contents').html());
 +
$('#book_contents').html();
  });
  });
});
});

Revision as of 06:52, 28 September 2012