OnMouseOver

From s23
Jump to navigation Jump to search

How to create a JavaScript onMouseOver effect on a webpage:

onMouseOver Image Effect Tutorial

//image swapping function:
function hiLite(imgDocID, imgObjName, comment) {
if (browserVer == 1) {
document.images[imgDocID].src = eval(imgObjName + ".src");
window.status = comment; return true;
}}