First example of javascript directly in a web page

Handling mouse movements

Move the mouse over the image to see what happens:
A picture that changes

Handling clicks

Click on the image to see what happens:
A picture that changes

Changing another element in a page

Click on the image to see what happens:
A picture that changes

Changing elements other than images:
A picture that changes

Some text here.

The views and opinions expressed in this page are strictly those of the page author. The contents of this page have not been reviewed or approved by the University of Minnesota.