moonsky200 发表于 2007-4-27 11:43:34

***图形特效***图象翻转script

把下列代码加到网页的<body></body>标签之间 从google下载我的照片管理软件
--------------------------------------------------------------------------------

<!--two steps to installing this script-->

<!--1) insert below in the head section of your page-->



<script language="javascript">

<!--



//slide show script (this notice must stay intact)

//for this and more scripts

//visit java-scripts.net or http://wsabstract.com



if (document.images) {

button1 = new image

button2 = new image



button1.src = 'img1.gif'

button2.src = 'img2.gif'

}

//-->

</script>



<!--2) add the following onmouseover/ onmouseout commands inside each image's <a> tag. for example:-->

<!--if you wish to implement more than one rollover effect, for second, third images etc (continued)-->

<!--give each image a different name from "rollover", and change references inside onmouseover/out code to match-->




<a href="http://java-scripts.net" onmouseover="document.rollover.src=button2.src"

onmouseout="document.rollover.src=button1.src"><img src="img1.gif" border=0

name="rollover">http://code.ik8.com/html/img1.gif</a>


      










--------------------------------------

http://www.huoyue.com.cn 活跃网,活跃人群的论坛,访问活跃网,将给您带来意想不到的收获,还可以免费为您开论坛,让您免费拥有与朋友、网友交流的论坛。你是年轻人吗?你活跃你就上!
页: [1]
查看完整版本: ***图形特效***图象翻转script