|
JavaScript Tutorial - 9
Now for some real fun - JavaScript gives us the ability to manipulate images.
Click for a demo: Task 25: A button which flips between two images using a function called flip. Note that the images must be the same size. Check.
Task 26:
A slide show of about 5 images using a function called change.
Here's how to introduce a delay of 2 seconds - click for a demo: Task 27: Redo Task 25 so that the picture flips by itself after 2 seconds. Check.
Challenge 9:
So ... what can you do with all this new knowledge? |
| HOME | Table of Contents | Previous | Next |