Team:UT Dallas/Notebook

From 2012.igem.org

(Difference between revisions)
Line 131: Line 131:
when: {
when: {
turning: function(e, page, view) {
turning: function(e, page, view) {
-
if(page==1 || page==10)
 
-
$('#book').css('margin-left','-200px')
 
-
else
 
-
$('#book').css('margin-left','0px')
 
var range = $(this).turn('range', page);
var range = $(this).turn('range', page);
for (page = range[0]; page<=range[1]; page++)  
for (page = range[0]; page<=range[1]; page++)  
addPage(page, $(this));
addPage(page, $(this));
-
 
+
},
 +
start: function(e, page, view) {
 +
alert(page);
},
},
}
}

Revision as of 18:15, 31 August 2012

Weeks

Notebook