shillan 当前离线
瞌睡虫
管理员
1.把<body>改为<body onmouseover=change() onmouseout="change()">
加入如下代码到head区域<style> img{border:1px solid white} </style> <script language=javascript> function change(){ var a=math.random()*255; var b=math.random()*255; var c=math.random()*255; var color="rgb("+a+","+b+","+c+")"; if(event.type=="mouseover") { if (event.srcelement.tagname=="img") event.srcelement.style.border="1px solid "+color } if(event.type=="mouseout") { if (event.srcelement.tagname=="img") event.srcelement.style.border="1px solid white" } } </script>
加入如下代码到body区域<a href="#"><img src="1.gif"></a>
逐梦网|逐梦论坛 |联系我们 |Archiver|WAP|
GMT+8, 2024-12-26 05:43, Processed in 0.013827 second(s), 5 queries, Gzip enabled.
Powered by Discuz! 7.2 论坛QQ群:
© 2001-2021 Comsenz Inc. 鲁公网安备 37120302000001号