a bunch of images, preferably having the same dimensions (ie same width and height).
| the user's browser and machine must be pretty fast and can load images moderately quick.
| the user is not annoyed by the slow image loading.
| the user is not annoyed by the constant flicking of images whenever they are touched.
| |
In this example, there are 3 imgs on the page, they are named Item 1, Item2, Item3.
| When the page opens, they are given the images og Gif1.gif, Gif2.gif, Gif3.gif.
| When the mouse rolls over Item1, Item1 switches its image to Pix4.src (ie Gif4.gif, as loaded in the HEAD script), | similarlly, Item2 gets Pix5.src and Item3 Pix6. As the Mouse leaves Item1, the original images return according to the OnMouseOut conditioning. | In the same fashion, the OnMouseover does the flipping on the other 2 Items (with different changes, however).
| Note the use of quotation marks and semicolons. They are essential syntax.
| |
![]()