This function expects two arguments, one is the image name and the other is the image source. The function is called from onmouseover and onmouseout event handlers and the two parameters are passed to it.
<a href="somewhere.html" onmouseover="roll('sub_but', 'movedown.gif')" onmouseout="roll('sub_but', 'movetup.gif')"> <img src="moveup.gif" width="143" height="39" border="0" alt="Move your mouse over me" name="sub_but" /> </a>
Building upon what we learnt here, let’s see how we can change two images simultaneously.
As of August 2015, Apple has released 25 different iPods and their variants. The iPod Classic has now been discontinued. [more...]