Jquery Problems With The Navigation of Moleskine NoteBook Plugin

Jquery Problems With The Navigation of Moleskine NoteBook Plugin

Hi Guys,I have problems with the buttons of this Plugin(Moleski NoteBook with Jquery).I stay using the normal code http://tympanus.net/Tutorials/MoleskineNotebook/MoleskineNotebook.zip?84cd58 of the demo,but I like modify the buttons for create a menu with the effect of Moleski NoteBook with Jquery in the firts page.So I like create buttons for change of each page,I believed that I can change of page of this mode <div id="page01"></div> and on the <a href="#page01">1</a> , but this is not true.

My Question is What I Should to do for create a Menu With The Effect of the Plugin on the Firts page and for change of each Page with The Effect of  Moleski NoteBook Jquery Plugin?

This is My Code:
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <script src="js/jquery-1.4.4.min.js"></script>
  6.  <script src="js/jquery.easing.1.3.js" type="text/javascript"></script>
  7.  <script src="js/jquery.booklet.1.1.0.min.js" type="text/javascript"></script>

  8.  <link href="css/jquery.booklet.1.1.0.css" type="text/css" rel="stylesheet" media="screen" />
  9.  <link rel="stylesheet" href="css/style.css" type="text/css" media="screen"/>
  10. <link rel="stylesheet" type="text/css" href="css/reset.css">
  11.  <script src="js/cufon-yui.js" type="text/javascript"></script>   
  12. </head>
  13. <body>

  14. <div class="book_wrapper">
  15.   <div id="loading" class="loading">Loading pages...</div>
  16.  <div id="mybook" style="">
  17.  <div class="b-load">
  18.  <div>
  19.  
  20.  <h2>Proyects</h2>
  21.                      <ul> 
  22.                      <li><a href="#page01"> <img src="images/1.jpg" width="112" height="82"></a></li>
  23.                      <li><a href="#page01"> <img src="images/2.jpg" width="112" height="82" style="top:-20px;"></a></li>
  24.                      <li><a href="#page02"><img src="images/3.jpg" width="112" height="82"></a></li>
  25.                      <li><a href="#page02"><img src="images/4.jpg" width="112" height="82"></a></li>
  26.                      </ul>
  27. <p> The user can scroll through the thumbnails
  28.  by using the slider controls. When a thumbnail is clicked,
  29.  it moves to the center and the full image preview opens.</p>
  30.  </div>
  31.  <div id="#page01">
  32.  <img src="images/2.jpg" alt="" />
  33.  <h2>Proyecto 01</h2>
  34.  <p>Today we will create an animated portfolio gallery with jQuery.
  35.  The gallery will contain a scroller for thumbnails and a
  36.  content area where we will display details about the portfolio
  37.  item. The image can be enlarged by clicking on it, making
  38.  it appear as an overlay.</p>
  39.  <a href="#" target="_blank" class="article">Article</a>
  40.  <a href="#" target="_blank" class="demo">Demo</a>
  41.  </div>
  42.  <div id="#page01">
  43.  <img src="images/3.jpg" alt="" />
  44.  <h2>Proyecto 02</h2>
  45.  <p>Today we will create a simple overlay effect to display annotations in e.g. portfolio
  46.  items of a web designers portfolio. We got the idea from the wonderful
  47.  portfolio of www.rareview.com where Flash is used to create the
  48.  effect. We will use jQuery.</p>
  49.  <a href="#" target="_blank" class="article">Article</a>
  50.  <a href="#" target="_blank" class="demo">Demo</a>
  51.  </div>
  52.  <div id="#page02">
  53.  <img src="images/4.jpg" alt="" />
  54.  <h2>Proyecto 03</h2>
  55.  <p>In this tutorial we will create a bubbly image gallery that
  56.  shows your images in a unique way. The idea is to show the
  57.  thumbnails of albums in a rounded fashion allowing the
  58.  user to scroll them automatically by moving the mouse.
  59.  Clicking on a thumbnail will zoom in a big circle and
  60.  the full image which will be automatically resized to
  61.  fit into the screen.</p>
  62.  <a href="#" target="_blank" class="article">Article</a>
  63.  <a href="#" target="_blank" class="demo">Demo</a>
  64.  </div>
  65.  <div id="#page02">
  66.  <img src="images/5.jpg" alt="" />
  67.  <h2>Proyecto 04</h2>
  68.  <p>Today we will create a collapsing menu that contains vertical
  69.  navigation bars and a slide out content area. When hovering
  70.  over a menu item, an image slides down from the top and a
  71.  submenu slides up from the bottom. Clicking on one of the
  72.  submenu items will make the whole menu collapse like a card
  73.  deck and the respective content area will slide out.</p>
  74.  <a href="#" target="_blank" class="article">Article</a>
  75.  <a href="#" target="_blank" class="demo">Demo</a>
  76.  </div>
  77.  </div>
  78.  </div>
  79.  </div>

  80. <!-- The JavaScript -->

  81.         <script type="text/javascript">
  82.  $(function() {
  83.  var $mybook  = $('#mybook');
  84.  var $bttn_next = $('#next_page_button');
  85.  var $bttn_prev = $('#prev_page_button');
  86.  var $loading = $('#loading');
  87.  var $mybook_images = $mybook.find('img');
  88.  var cnt_images = $mybook_images.length;
  89.  var loaded = 0;
  90.  //preload all the images in the book,
  91.  //and then call the booklet plugin

  92.  $mybook_images.each(function(){
  93.  var $img  = $(this);
  94.  var source = $img.attr('src');
  95.  $('<img/>').load(function(){
  96.  ++loaded;
  97.  if(loaded == cnt_images){
  98.  $loading.hide();
  99.  $bttn_next.show();
  100.  $bttn_prev.show();
  101.  $mybook.show().booklet({
  102.  name:               null,                            // name of the booklet to display in the document title bar
  103.  width:              800,                             // container width
  104.  height:             500,                             // container height
  105.  speed:              600,                             // speed of the transition between pages
  106.  direction:          'LTR',                           // direction of the overall content organization, default LTR, left to right, can be RTL for languages which read right to left
  107.  startingPage:       0,                               // index of the first page to be displayed
  108.  easing:             'easeInOutQuad',                 // easing method for complete transition
  109.  easeIn:             'easeInQuad',                    // easing method for first half of transition
  110.  easeOut:            'easeOutQuad',                   // easing method for second half of transition

  111.  closed:             true,                           // start with the book "closed", will add empty pages to beginning and end of book
  112.  closedFrontTitle:   null,                            // used with "closed", "menu" and "pageSelector", determines title of blank starting page
  113.  closedFrontChapter: null,                            // used with "closed", "menu" and "chapterSelector", determines chapter name of blank starting page
  114.  closedBackTitle:    null,                            // used with "closed", "menu" and "pageSelector", determines chapter name of blank ending page
  115.  closedBackChapter:  null,                            // used with "closed", "menu" and "chapterSelector", determines chapter name of blank ending page
  116.  covers:             false,                           // used with  "closed", makes first and last pages into covers, without page numbers (if enabled)

  117.  pagePadding:        10,                              // padding for each page wrapper
  118.  pageNumbers:        true,                            // display page numbers on each page

  119.  hovers:             false,                            // enables preview pageturn hover animation, shows a small preview of previous or next page on hover
  120.  overlays:           true,                            // enables navigation using a page sized overlay, when enabled links inside the content will not be clickable
  121.  tabs:               false,                           // adds tabs along the top of the pages
  122.  tabWidth:           60,                              // set the width of the tabs
  123.  tabHeight:          20,                              // set the height of the tabs
  124.  arrows:             false,                           // adds arrows overlayed over the book edges
  125.  cursor:             'pointer',                       // cursor css setting for side bar areas

  126.  hash:               false,                           // enables navigation using a hash string, ex: #/page/1 for page 1, will affect all booklets with 'hash' enabled
  127.  keyboard:           true,                            // enables navigation with arrow keys (left: previous, right: next)
  128.  next:               $bttn_next,           // selector for element to use as click trigger for next page
  129.  prev:               $bttn_prev,           // selector for element to use as click trigger for previous page

  130.  menu:               null,                            // selector for element to use as the menu area, required for 'pageSelector'
  131.  pageSelector:       false,                           // enables navigation with a dropdown menu of pages, requires 'menu'
  132.  chapterSelector:    false,                           // enables navigation with a dropdown menu of chapters, determined by the "rel" attribute, requires 'menu'

  133.  shadows:            true,                            // display shadows on page animations
  134.  shadowTopFwdWidth:  166,                             // shadow width for top forward anim
  135.  shadowTopBackWidth: 166,                             // shadow width for top back anim
  136.  shadowBtmWidth:     50,                              // shadow width for bottom shadow

  137.  before:             function(){},                    // callback invoked before each page turn animation
  138.  after:              function(){}                     // callback invoked after each page turn animation
  139.  });
  140.  Cufon.refresh();
  141.  }
  142.  }).attr('src',source);
  143.  });
  144.  
  145.  });
  146.         </script>

  147. </body>
  148. </html>