Team:UT Dallas/Notebook
From 2012.igem.org
(Difference between revisions)
Line 190: | Line 190: | ||
$('#book').animate({ | $('#book').animate({ | ||
left: '0px' | left: '0px' | ||
- | }, | + | }, 300, function() { |
$('#book_contents').animate({ | $('#book_contents').animate({ | ||
left: '0px' | left: '0px' | ||
- | }, | + | }, 300, 'easeInOutBack',function() { |
//anim complete | //anim complete | ||
}); | }); | ||
Line 202: | Line 202: | ||
$('#book').animate({ | $('#book').animate({ | ||
left: '-265px' | left: '-265px' | ||
- | }, | + | }, 300, function() { |
$('#book_contents').animate({ | $('#book_contents').animate({ | ||
left: '285px' | left: '285px' | ||
- | }, | + | }, 300,'easeInOutBack', function() { |
//anim complete | //anim complete | ||
}); | }); | ||
Line 213: | Line 213: | ||
$('#book').animate({ | $('#book').animate({ | ||
left: '-265px' | left: '-265px' | ||
- | }, | + | }, 300, function() { |
//anim complete | //anim complete | ||
}); | }); |
Revision as of 07:21, 28 September 2012