Team:UT Dallas/Notebook
From 2012.igem.org
(Difference between revisions)
Line 144: | Line 144: | ||
gradients: !$.isTouch, | gradients: !$.isTouch, | ||
when: { | when: { | ||
- | turning: function(e, page, view) { | + | turning: function(e, page, view) |
+ | { | ||
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++) | ||
Line 151: | Line 152: | ||
} | } | ||
}); | }); | ||
- | + | $("#book").bind("turned", function(event, page, view) { | |
+ | alert("Page: "+page); | ||
+ | }); | ||
}); | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 05:12, 28 September 2012