3. Put your files in my dropbox
• Web page with a rollover animation
• Put files in a folder with your
lastname and first initial
• Example:
smith-h
myPage.html
anim1.gif
15. Events
• jQuery includes a set of methods with
behaviors that respond to user
interactions
‣ List of events
16. DOM Ready Function
• By adding this to the head of your Web
page you can be sure the elements are
loaded before applying effects to them
<script>
$(document).ready(function () {
//add your functions here
});
</script>
17. Load function
• We can also use this to show a loading
animation that disappears when the page
and all of its images are loaded
<script>
$(window).load(function () {
$('#loadingBox').fadeOut();
});
</script>
19. Add an overlay to your group
project site
• Make the overlay open when user
clicks a button or image
• Add a close button to the overlay to
allow the user to close it
• Use jQuery
21. Homework due Feb 23
• Create a Web page with jQuery
‣ Make an image fade in, grow, and
fade out
• Work on Group Projects
• Read Chapter 1: Using Flash and
ActionScript 3.0 in the class textbook
AS 3.0 Game Programming University
• Get ready for Adobe Flash next week