BookBlock icon indicating copy to clipboard operation
BookBlock copied to clipboard

Plugin not flipping after click

Open thepatres opened this issue 6 years ago • 4 comments

hi, we are using plugin here - http://japa-fe.reinkarnacia.sk/

after clicking on dot in menu, book does not flip. only after hovering on book directly.

is it possible to make it working right after click?

thepatres avatar Feb 08 '19 19:02 thepatres

Any help?

thepatres avatar Feb 12 '19 12:02 thepatres

where is the code where you initialize the dot on click? when you ask code related question you should give all the details available

take a look at: https://tympanus.net/Development/BookBlock/index5.html and this code from the example:

// add navigation events

  $nav.each( function( i ) {
   $( this ).on( 'click touchstart', function( event ) {
   var $dot = $( this );
   $nav.removeClass( 'bb-current' );
   $dot.addClass( 'bb-current' );
   $bookBlock.bookblock( 'jump', i + 1 );
  return false;
   } );
   } );

   

boynet avatar Feb 12 '19 14:02 boynet

where is the code where you initialize the dot on click? when you ask code related question you should give all the details available

take a look at: https://tympanus.net/Development/BookBlock/index5.html and this code from the example:

// add navigation events

  $nav.each( function( i ) {
   $( this ).on( 'click touchstart', function( event ) {
   var $dot = $( this );
   $nav.removeClass( 'bb-current' );
   $dot.addClass( 'bb-current' );
   $bookBlock.bookblock( 'jump', i + 1 );
  return false;
   } );
   } );

bookBlock is stop autoplay after click dot in navigation . It is posisible to call autoplay function again after click dot ?

huynha39 avatar Jun 24 '20 05:06 huynha39

where is the code where you initialize the dot on click? when you ask code related question you should give all the details available take a look at: https://tympanus.net/Development/BookBlock/index5.html and this code from the example:

// add navigation events

  $nav.each( function( i ) {
   $( this ).on( 'click touchstart', function( event ) {
   var $dot = $( this );
   $nav.removeClass( 'bb-current' );
   $dot.addClass( 'bb-current' );
   $bookBlock.bookblock( 'jump', i + 1 );
  return false;
   } );
   } );

bookBlock is stop autoplay after click dot in navigation . It is posisible to call autoplay function again after click dot ?

solved problem :)

huynha39 avatar Jun 25 '20 04:06 huynha39