$(function () { $("#slider").responsiveSlides({auto: true,pager: false,nav: true, speed: 500,namespace: "callbacks",before: function () { $('.events').append("
  • before event fired.
  • ");},after: function () { $('.events').append("
  • after event fired.
  • ");} });});