Browse Source

added callback function after done

Add callback option after load all code
pull/278/head
expouic 11 years ago
parent
commit
e1b6a1f3c8
  1. 5
      responsiveslides.js

5
responsiveslides.js

@ -29,6 +29,7 @@
"namespace": "rslides", // String: change the default namespace used
"before": $.noop, // Function: Before callback
"after": $.noop // Function: After callback
"callback": $.noop // Function: callback
}, options);
return this.each(function () {
@ -385,6 +386,10 @@
});
}
// callback if exist
if (settings.callback){
settings.callback();
}
});
};

Loading…
Cancel
Save