Looping through images
This example sets out two approaches to changing the current image being displayed in an ImageField object. There is a single button on page 1 (script is in the click event), whereas there nine buttons on page 2 (script is in the mouseEnter event).