0

私はturn.jsで作業していますが、 TypeError: $(...).turn is not a function currently my js is:というエラーが表示されます:

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
   });
}

// Load the HTML4 version if there's not CSS transform
$(document).ready(function() {  
   yepnope({
      test : Modernizr.csstransforms,
      yep: ['../../lib/turn.js'],
      nope: ['../../lib/turn.html4.min.js'],
      both: ['css/basic.css'],
      complete: loadApp
   });
});

私が間違っている可能性のあるアイデアはありますか?

4

1 に答える 1