Template:Team:HokkaidoU Japan/JS

From 2014.igem.org

(Difference between revisions)
Line 938: Line 938:
$(function() {
$(function() {
     $('#bb-bookblock').bookblock();
     $('#bb-bookblock').bookblock();
 +
 +
      $( '#bb-nav-next' ).on( 'click', function() {
 +
 +
        $( '#bb-bookblock' ).bookblock( 'next' );
 +
      return false;
 +
});
 +
 +
$( '#bb-nav-prev' ).on( 'click', function() {
 +
 +
  $( '#bb-bookblock' ).bookblock( 'prev' );
 +
 +
  return false;
 +
 +
});
 +
 +
$( '#bb-nav-first' ).on( 'click', function() {
 +
 +
  $( '#bb-bookblock' ).bookblock( 'first' );
 +
 +
  return false;
 +
 +
});
 +
 +
$( '#bb-nav-last' ).on( 'click', function() {
 +
 +
  $( '#bb-bookblock' ).bookblock( 'last' );
 +
 +
  return false;
 +
 +
});
 +
 +
});
});
</script>
</script>
</script>
</script>
</html>
</html>

Revision as of 03:47, 14 September 2014