6. Rollover Images
• When a user puts the mouse over an
image a new image can be shown
• Uses JavaScript and the DOM
(Document Object Model)
• DOM allows us to identify and
manipulate any element on a Web
page
14. Button States
• Up – Appears when the page first loads,
the default image
• Over – Appears when the mouse moves
over the image
• Down – Appears after the image has
been clicked, a “pressed” state
• Over While Down – Appears when the
mouse moves over the image in the
Down state
16. Homework, due Sept 9
• Devise a navigation scheme for a website
• Use animated rollovers
• Use all of the 4 states:
Up
Over
Down
Over While Down
• Create one page per navigation item (at least
3 pages) to demonstrate how it works