Image Change On Mouseover and Mouseout

[Total: 0    Average: 0/5]

This shows how to have an image that has a roll over effect.

Body Code:

<script type=text/javascript>
_i0 = new Image(); _i0.src = "";
_i1 = new Image(); _i1.src = "";

function doOn(_i,_n) {
function doOut(_i,_n) {

<a href="#" onmouseover="doOn('myimg','_i')" onmouseout="doOut('myimg','_i')">
<img name="myimg" src="">

Times Viewed: 3

Leave a Reply

Your email address will not be published. Required fields are marked *