Create a Rotating Carousel with jQuery and Dreamweaver
Video: Previewing the final projectShows how to implement and customize an interactive rotating carousel animation with jQuery and Dreamweaver.
- Where to go from here
- Exporting graphics from Photoshop
- Positioning elements with CSS
- Using the Roundabout plug-in
- Activating the carousel callback
- Detecting the image in focus
- Adding the final touches
Previewing the final project
Hi! This is Chris Converse, and this is a course on creating an interactive rotating carousel for your web site. I want to first start by showing the final project we're going to be creating. Inside of the exercise files, there is a folder called Final-Project. I want to open the index.html file up in a browser to show you the final project we'll be creating. Now in this carousel, we have a series of teapots. When I click on the individual items in the carousel, they will rotate to the front. You will also notice a caption underneath. What we'll do with the caption is fade the caption out, grow the stem under the leaves, and then fade the caption back in.
We also have these buttons on the right and left that will also rotate the carousel. Now we're going to be creating this project using jQuery. This is going to give us the advantage of being able to code the project once and have it work on a series of devices and platforms. So here we are, over an IE9 running in Window 7 and getting the exact same user experience. And you'll also be able to take your project over to individual devices. So in this case let's load the same exact project running in an iPad and again get the same user experience running on the device as well.
So, to illustrate how we're going to create the carousel, I want to bring up a sketch. We are going to be bringing in a series of images that we're going to put into an HTML container and then hide that through CSS. Then we are going to run a jQuery plug- in called Roundabout, which is going to take all of these images and place them into a div container that we create with CSS and HTML, and put these items into a carousel. Each one of the items will become clickable so we can click on them and have them come to the front, and then we are going to add some custom functions that will allow us to create our right and left buttons to rotate the carousel and also create a caption area that will relate to the item in the carousel that's in the forefront. So, I hope this course sounds interesting to you, and if so, let's get started with the first movie.
There are currently no FAQs about Create a Rotating Carousel with jQuery and Dreamweaver.