页面鼠标幻影文字
[查看演示]
<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 LANGUAGE="JavaScript">
<!-- 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>