Help
if ($(window).width() >= 700) { function loadApp() {
// Create the flipbook
$('.flipbook').turn({ // Width
width: 922,
// Height
height: 600,
// Elevation
elevation: 50,
// Enable gradients
gradients: true,
// Auto center this flipbook
autoCenter: true,
// display: "single" }); } } else {
function loadApp() {
// Create the flipbook
$('.flipbook').turn({ // Width
width: 621,
// Height
height: 540,
// Elevation
elevation: 50,
// Enable gradients
gradients: true,
// Auto center this flipbook
autoCenter: true,
display: "single" }); }
}
// Load the HTML4 version if there's not CSS transform
yepnope({ test: Modernizr.csstransforms, yep: ['js/turn.js'], nope: ['js/turn.html4.min.js'], both: ['css/basic.css'], complete: loadApp });