daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Jun 20th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $("#_Movie_Downloads_Scroll").slider({
  2.         orientation: "vertical",
  3.         animate: true,
  4.         value: 100,
  5.         change: function(event, ui){
  6.             var content = $('#_Movie_Downloads_Frame'), maxScroll = content.attr("scrollHeight") - content.height();
  7.             content.animate({scrollTop: (100 - ui.value) * (maxScroll / 100) });
  8.            
  9.         },
  10.         slide: function(event, ui){
  11.             var content = $('#_Movie_Downloads_Frame'), maxScroll = content.attr("scrollHeight") - content.height();
  12.             content.attr({scrollTop: (100 - ui.value) * (maxScroll / 100) });
  13.         }
  14.     });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top