Guest User

Untitled

a guest
Jul 31st, 2013
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.82 KB | None | 0 0
  1. <script type="text/javascript" src="https://dl.dropboxusercontent.com/u/47626020/jsor-jcarousel-247c651/lib/jquery.jcarousel.min.js"></script>
  2. <link rel="stylesheet" type="text/css" href="https://dl.dropboxusercontent.com/u/47626020/jsor-jcarousel-247c651/skins/tango/skin.css" />
  3. <script type="text/javascript">
  4.   jQuery.easing['BounceEaseOut'] = function(p, t, b, c, d) {
  5.     if ((t/=d) < (1/2.75)) {
  6.         return c*(7.5625*t*t) + b;
  7.     } else if (t < (2/2.75)) {
  8.         return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
  9.     } else if (t < (2.5/2.75)) {
  10.         return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
  11.     } else {
  12.         return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
  13.     }
  14. };
  15.  
  16. jQuery(document).ready(function() {
  17.     jQuery('#mycarousel').jcarousel({
  18.         easing: 'BounceEaseOut',
  19.         animation: 1000
  20.     });
  21. });
  22.  
  23. </script>
Advertisement
Add Comment
Please, Sign In to add comment