Jquery 每个页面的Turn.js库和加载函数

Jquery 每个页面的Turn.js库和加载函数,jquery,jquery-tooltip,yepnope,turnjs,Jquery,Jquery Tooltip,Yepnope,Turnjs,我使用TurnJS库制作翻页书,还使用工具提示库 这本书和工具提示只适用于几页,但有时不起作用。似乎无法加载工具提示功能。我不知道为什么。我是否必须使用特定事件来解决此问题? 以下是我的工具提示功能: $(document).ready(function($) { $('.source').each(function() { var selector = '#' + $(this).data('source-id'); Tipped.create(t

我使用TurnJS库制作翻页书,还使用工具提示库

这本书和工具提示只适用于几页,但有时不起作用。似乎无法加载工具提示功能。我不知道为什么。我是否必须使用特定事件来解决此问题? 以下是我的工具提示功能:

   $(document).ready(function($) {
    $('.source').each(function() {
        var selector = '#' + $(this).data('source-id');
        Tipped.create(this, $(selector)[0], {
            skin: 'white',
            hook: 'topleft',
            hideOn: 'click',
            showOn: 'click',
            maxWidth: 250,
            closeButton: true

        });
    });
});
我这样加载动画书:

  function loadApp() {    
     // Create the flipbook
      $('.flipbook').turn({
          // Width
          width: 900,
          // Height
          height: 620,
          // Elevation
          elevation: 50,
          // Enable gradients
          gradients: true,
          duration: 1000,
          pages: 16,
          // Auto center this flipbook
          autoCenter: true,   
      });  
  }   
   // Load the HTML4 version if there's not CSS transform

  yepnope({
      test: Modernizr.csstransforms,
      yep: ['lib/turn.js'],
      nope: ['lib/turn.html4.min.js'],
      both: ['css/basic.css'],
      complete: loadApp
  });
谢谢你的帮助