Start learning with our library of video tutorials taught by experts. Get started

Create Animated Rollovers with jQuery and Dreamweaver

Create Animated Rollovers with jQuery and Dreamweaver

with Chris Converse

Video: Previewing the project across browsers and devices

Hi! This is Chris Converse and this is a course on creating some animated rollovers for your web site using jQuery. So I want to start by opening up the Final Project inside of the exercise files and take a look at what we're going to be creating throughout the course. In the first option we're going to be using jQuery to simply change elements that are already on the screen, and we're actually going to use content from a previous course called, Creating an Interactive Video Gallery as content for the course. Of course, you can use these same techniques in any web site targeting any HTML elements. Now in the video course we had captions that were over top of these thumbnails.

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
Create Animated Rollovers with jQuery and Dreamweaver
28m 13s Intermediate Oct 20, 2011

Viewers: in countries Watching now:

In this project-based course, author Chris Converse brings interactivity to a sample video gallery using the open-source JavaScript library jQuery. Working in Dreamweaver, Chris shows how to animate the captions and play icon, extend the thumbnails into filmstrips, and modify the filmstrip backgrounds to change on rollover using CSS.

Take a look at the finished web site here.

Topics include:
  • Updating the CSS to prepare for animated captions
  • Adding the jQuery hover statement
  • Setting a JavaScript timer
  • Animating the thumbnail filmstrip backgrounds
Subjects:
Web Web Design Projects
Software:
Dreamweaver jQuery
Author:
Chris Converse

Previewing the project across browsers and devices

Hi! This is Chris Converse and this is a course on creating some animated rollovers for your web site using jQuery. So I want to start by opening up the Final Project inside of the exercise files and take a look at what we're going to be creating throughout the course. In the first option we're going to be using jQuery to simply change elements that are already on the screen, and we're actually going to use content from a previous course called, Creating an Interactive Video Gallery as content for the course. Of course, you can use these same techniques in any web site targeting any HTML elements. Now in the video course we had captions that were over top of these thumbnails.

In this course, we're going to take those captions and move them off the stage, so that we can't see them over top of the individual thumbnails and when I roll my cursor inside of the thumbnails we're going to animate those captions up. We're also going to take the Play icons set their transparency to about 50%, and then we're going to bring the Opacity of those up as well. In addition, if captains have different heights we're actually going to move the Play icon so that it overlaps the caption box by the same amount each time. So when I rollover the next thumbnail which is a three line caption you'll notice the icon will move up as well.

If I roll into a caption that's only got one line of copy the icon will move down again to make the relationship of the Play icon and the caption the same. Now in the second option we're going to change the background picture of the thumbnail as well. So let me open up option_ 2 inside of our browser. Now the first thing you'll notice in the lower left is we have a timer that's constantly counting and if I roll my cursor inside of the thumbnails we'll see that the background graphic of the thumbnail is changing in addition to the animation of the play icon and the animation of the caption.

Now as I roll into each one of these we'll be switching the background graphics using CSS changes from jQuery and this will give us a little bit of a more dynamic feel for the individual keyframes for the video. Now since we're standardizing on jQuery here we do get the same user experience across different platforms. If we move over here into Windows 7 running IE 9, I'm going to take option_2 and just drag that into a browser and take a look at the same user experience running on Windows and IE 9.

The next we'll move over to Windows XP. Now over in XP we're going to get the same user experience inside of IE 7 and 8 as well. However, there is one thing that we can't support inside of 7 and 8 and that is setting transparency on an already semitransparent PNG file. So one thing you'll notice when I roll into each one of these icons is once the icon has some transparency applied to it through CSS and through jQuery we'll get this black halo that shows around the outside of the PNG file. When I roll away the PNG file will pick up its semi-transparency, but we won't be able to get rid of that black halo.

Now if you do want to have this user experience consistent for IE 7 and 8 as well, during the course, I will show you the places in the JavaScript, where we can make this change so that we are not setting opacity for the Play icons. So with that, I hope this course sounds interesting and if so let's get started with the first movie.

There are currently no FAQs about Create Animated Rollovers with jQuery and Dreamweaver.

Share a link to this course
Please wait... Please wait...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Create Animated Rollovers with jQuery and Dreamweaver.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked

Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.