Creating an animated content slider

You are probably aware that there is a whole forest of jQuery content slider plugins, tutorials, and downloadable scripts online, which are available for use and most of the content is free of charge. Content sliders are incredibly popular because they are a very attractive and eye-catching way to display important content to a user, such as images, news, and promotions. This recipe will show you how easy it is to create a content slider with jQuery. The slider used in this recipe will allow you to easily customize its look and feel using CSS so you can make it your own.

Getting ready

Create the usual recipe files: recipe-3.html, recipe-3.css and recipe-3.js in the same directory as your jQuery library.

How to ...

Get jQuery 2.0 Development Cookbook 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.