Guest User

Untitled

a guest
Aug 20th, 2020
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. H5P.jQuery('#h5p-interactive-book-navigation-menu').mouseenter(function (e) {
  2.     if (!H5P.jQuery('#h5p-interactive-book-navigation-menu>div:hover').length) {
  3.         H5P.jQuery('#h5p-interactive-book-navigation-menu').animate({
  4.             'padding-top': e.pageY - H5P.jQuery("#h5p-interactive-book-navigation-menu").position().top - H5P.jQuery("#h5p-interactive-book-navigation-menu .navigation-list").height() / 2 - H5P.jQuery("#h5p-interactive-book-navigation-menu .h5p-interactive-book-navigation-maintitle").height() / 2
  5.         });
  6.     }
  7. });
Add Comment
Please, Sign In to add comment