随笔-124  评论-49  文章-56  trackbacks-0

<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 阅读(180) 评论(0)  编辑  收藏 所属分类: ajax/jquery/js

只有注册用户登录后才能发表评论。


网站导航: