<script type=text/javascript>
<!--
function MyImageA()
{
document.all.MyPic.src="C:\Documents and Settings\All Users\Documents\My Pictures\示例图片\Sunset.jpg";
}
function MyImageB()
{
document.all.MyPic.src="C:\Documents and Settings\All Users\Documents\My Pictures\示例图片\Blue hills.jpg";
}
-->
</script>
<img name=MyPic id="MyPic " src="C:\Documents and Settings\All Users\Documents\My Pictures\示例图片\Sunset.jpg" width=300 height=200></img>
<script type=text/javascript>
document.all.MyPic.onmouseover=MyImageA;
document.all.MyPic.onmouseout=MyImageB;
</script>
posted on 2009-11-29 21:55
junly 阅读(276)
评论(0) 编辑 收藏 所属分类:
ajax/jquery/js