I have around 10 links in my navigation. All of which have 2 images for example, main_image.png the picture that loads first, and the other that is not displayed called main_image_up.png This image is what I want to replace the first image with when I hover over it.
What would be the best method be/ technique to use, to incorporate all this large into a efficient function?
Here is my current code, simple structure, please note, all images will be different:
<div>
<img src="http://cdn4.blogs.babble.com/strollerderby/files/2011/06/test-100x100.jpg"/>
<p>Directory</p>
</div>
Thanks in advance, Chris