animation speed

  • Posted in : BookCard WP
  • acid45087
    Participant

    Hello. I want the animation of the opening pages to go slower so viewers could better look at the page you see when the book is first opened.

    How may I do this?

    Mehmet S.
    Keymaster

    Hi, you need to edit one line in your theme’s main.js file: (js/main.js)

    – find:

    setTimeout(function() { $container.addClass( 'rm-open' ); },10);
    

    – edit the number 10 to a big value. (e.g 850)

    Thanks

    acid45087
    Participant

    That isn’t what I need. This causes the first page to take it’s time to open. I need the second fold (page) to have more delay before it opens.

    How do I do this?

    Mehmet S.
    Keymaster

    Ok, here is the line:

    setTimeout(function() { $container.addClass( 'rm-closed' ) },850);
    

    edit 850 to big number. (e.g. 2000)

    acid45087
    Participant

    Nope. tried it. it changes the closing timing of the two pages. I just want the second fold to open more slowly, so you could see it better before viewing the tree inside pages.

    Again, Only the second fold timing to be slower.

    ahmetsali
    Keymaster

    Hi, try this custom css code;

    .rm-container.rm-open .rm-right { 
    	-webkit-transition: all 1.0s ease-in-out, height 0s;
    	transition: all 1.0s ease-in-out, height 0s;
    	-webkit-transition-delay: 0.2s;
    	transition-delay: 0.2s;
    }
    
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register