加载中…
个人资料
冰河星矢
冰河星矢 新浪个人认证
  • 博客等级:
  • 博客积分:0
  • 博客访问:21,688,545
  • 关注人气:21,622
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
相关博文
推荐博文
谁看过这篇博文
加载中…
正文 字体大小:

新浪首发:字符满天飞的一个鼠标特效

(2006-08-18 10:28:39)
分类: 校园文化类它山石可攻玉
代码如下:
<DIV ID = "x", STYLE = "position: absolute; filter: glow(strength = 3, color = red)">博易天下</DIV>
<DIV ID = "x1", STYLE = "position: absolute; filter: glow(strength = 3, color = blue)">博易天下</DIV>
<DIV ID = "x2", STYLE = "position: absolute; filter: glow(strength = 3, color = blue)">博易天下</DIV>
<DIV ID = "x3", STYLE = "position: absolute; filter: glow(strength = 3, color = red)">博易天下</DIV>
<DIV ID = "x4", STYLE = "position: absolute; filter: glow(strength = 3, color = green)">博易天下</DIV>
<DIV ID = "x5", STYLE = "position: absolute; filter: glow(strength = 3, color = green)">博易天下</DIV>
<DIV ID = "x6", STYLE = "position: absolute; filter: glow(strength = 3, color = purple)">博易天下</DIV>
<DIV ID = "x7", STYLE = "position: absolute; filter: glow(strength = 3, color = purple)">博易天下</DIV>
<SCRIPT><SCRIPT>
<!-- Begin
function mover()
{
document.all.x.style.left = event.clientX;
document.all.x.style.top = event.clientY;
document.all.x1.style.top = event.clientX;
document.all.x1.style.left = event.clientY;
document.all.x2.style.top = event.clientX;
document.all.x2.style.right = event.clientY;
document.all.x3.style.right = event.clientX;
document.all.x3.style.top = event.clientY;
document.all.x4.style.bottom= event.clientX;
document.all.x4.style.right = event.clientY;
document.all.x5.style.bottom= event.clientX;
document.all.x5.style.left = event.clientY;
document.all.x6.style.left= event.clientX;
document.all.x6.style.bottom = event.clientY;
document.all.x7.style.right= event.clientX;
document.all.x7.style.bottom = event.clientY;
}
document.onmousemove=mover;
// End -->
</script>
代码说明:有些人转载冰河文章不注明出处,我在这里告诉他们,他们这样会永远落后冰河。
上面的代码只需要改变一下粉红色的文字即可,添加到自定义面板。
转载注明出处 : 博易天下 有些人随意转载不注明出处,是对别人劳动的不尊重!

0

阅读 评论 收藏 转载 喜欢 打印举报/Report
  • 评论加载中,请稍候...
发评论

    发评论

    以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

      

    新浪BLOG意见反馈留言板 电话:4000520066 提示音后按1键(按当地市话标准计费) 欢迎批评指正

    新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 会员注册 | 产品答疑

    新浪公司 版权所有