Improving the banner widget

Here are a few suggestions to help you add new features to the slideshow widget:

  • Add different effects to show and hide a slide
  • Implement another callback afterHide that will be called after a slide is hidden
  • Disable the slideshow after a certain number of iterations of all slides

Get Mastering jQuery UI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.