101、最简单的图片变换

101、最简单的图片变换

脚本说明:

把如下代码加入<body>区域中

<SCRIPT LANGUAGE="JavaScript">

//Preload Kiss Images

IrishKiss=new Image(132,70)

IrishKiss.src="irishkiss.gif"

IrishKissAnim=new Image(132,70)

IrishKissAnim.src="irishkissanim.gif"

document.write('<a href="http://www.sina.com.cn" onMouseOver="document.Irish.src=IrishKissAnim.src" onMouseOut="document.Irish.src=IrishKiss.src"><img src="irishkiss.gif" name="Irish" width=125 height=125 border=0></a>')

</script>

 

Write a comment

Comments: 0