the picture was replaced when the mouse move over the picture.

<script type="text/JavaScript">
    //换图片
    function changeImg(){
      var img=document.getElementById("img2");
           img.src= "button/query_1.gif";
     }
     function changeImgBack(){
        var img=document.getElementById("img2");
           img.src= "button/query.gif";
     }
   </script>

  <input type="Image" id="img2" name="Submit" src="button/query.gif" onmouseover="changeImg()" onmouseout="changeImgBack()" align="middle"/>

阅读更多
想对作者说点什么?

博主推荐

换一批

没有更多推荐了,返回首页