Sometimes a good way of grabbing people attention on a page is to have something happen that the dont expect such as a image changing when the users mouse is passed over an image.

Pass your mouse over the image below

This image changes when you point at it!

Copy the HTML code below into your blog or web page in the body


To create this image roll over effect two images are pre loaded using javascript in the head. The tag is embedded in a hyperlink that has JavaScript onMouseOver and onMouseOut event handlers in it. The HTML that is used on the page in the body is the box below:-



Adding this effect to more than one image on a page is more complicated and requires different code to what is used here