View Single Post
Old 01-30-2005, 06:13 PM   #3 (permalink)
HuntHerr
Registered User
 
Join Date: Jan 2005
Posts: 2
HuntHerr is on a distinguished road
Not working for me, is this the correct code?

Code:
<html>
<head>
<script>
function findObj(objID){ return document.getElementById?document.getElementById(ob  jID):document.all?document.all[objId]:null; }

function changeImage(newImgSrc) {
    var newImg = findObj("jack2.jpg");    
    if (!newImg) return;

    newImg.src = newImgSrc;
}</script>
</head>
<body>

<table width="469">
<tr>
    <td width="227">
        <span id="oldImg" onmouseover="changeImg('jack2.jpg');">a cell</span>
    </td><td width="230">
        <img id="newImg" src="jack.jpg">
    </td>
</tr>
</table>

</body>
</html>
HuntHerr is offline   Reply With Quote