SHARE
TWEET

Untitled

a guest May 19th, 2017 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function slideTo(position, continuously) {
  2.                 $('#slideInner').stop();
  3.                 clearNextTimeOut();
  4.                 // usual cases
  5.                
  6.                     $('#slideInner').animate({ 'marginLeft': o.slideWidth * (-position) }, '', '',
  7.                         function() {
  8.                             manageControls(position);
  9.                             if (o.autoplay == true) setNextTimeOut();
  10.                         }, 'easeOutBack'
  11.                     )
  12.                
  13.             }
RAW Paste Data
Want to get better at JavaScript?
Learn to code JavaScript in 2017
Top