给大家分享几个网页鼠标特效代码。。。顶哦↑
点击会变色哦!![code]<html>S$|8e&d2TMSd<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">c-E bC1@p8U!g|
<title>网页特效|Linkweb.cn/Js|---随鼠标变色的文字</title>{9Tp E*N6Y@)G2f
</head>
<body>
<p>将鼠标移到这里看看<p><p></p>Y|Q,`@M-C5h{w
<script language="VBScript">
sub helloY4r!vTq!|9b P%~
document.fgColor=int(256*256*256*rnd)r'jb5l Mu/Z&f$u `Wa
end sub
</script>
</body>
</html>[/code]让鼠标下场雪,想不到啊[code]<html>N7]_E0H-L`Od.~k
<head> ~byc#iOD
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>网页特效|Linkweb.cn/Js|---让鼠标下场雪,想不到啊</title>
</head>Wa6S pPF
<body>*FBs"m8vn
3_.SqiX2q
<STYLE TYPE="text/css">U2}$Z,?De
<!--R0TQ@6Sk*n%Z
BODY{overflow:scroll;overflow-x:hidden;}.s1{position : absolute; font-size : 12pt; color : blue; visibility: hidden;}.s2{ position : absolute; font-size : 20pt; color : red; visibility : hidden;}
.s3{ position : absolute; font-size : 16pt; color : gold; visibility : hidden;}.s4{ position : absolute; font-size : 14pt; color : lime; visibility : hidden;}
-->
</STYLE>
<DIV ID="div1" CLASS="s1">*</DIV>
<DIV ID="div2" CLASS="s2">*</DIV>v9q}-r4g.h-@0[W
<DIV ID="div3" CLASS="s3">*</DIV>
<DIV ID="div4" CLASS="s4">*</DIV>
<script language="javascript" type="text/javascript" class="s5">_/f0c+{2kO\?#Z
var nav = (document.layers);
var tmr = null;
var spd = 50;
var x = 0;
var x_offset = 5;
var y = 0;'vm)G(X$G'I
var y_offset = 15;
if(nav) document.captureEvents(Event.MOUSEMOVE);
document.onmousemove = get_mouse;
function get_mouse(e)9v#a"b]*u&L\ N2ug
{4M Cu-a[ |3L+g
x = (nav) ? e.pageX : event.clientX+document.body.scrollLeft;li.MxQ
y = (nav) ? e.pageY : event.clientY+document.body.scrollTop;"{&t Q1D"x9p5`&u`
x += x_offset;"Bs(J(G0J8i
y += y_offset;
beam(1);0yMaw5fo
}^$RH([+E`W
function beam(n)
{
if(n<5)8w3o5v;?Wk#G
{IC)F d1Zb J
if(nav),T.C:aW1W,^x8FV"k\8E8~
{/Qta!_nA
eval("document.div"+n+".top="+y);0GR2pQ8`&Gt[
eval("document.div"+n+".left="+x);
eval("document.div"+n+".visibility='visible'");&G9z