武魂2什么职业好:求鼠标停在鼠标网址上,就会显示鼠标的样子的代码
来源:百度文库 编辑:高考问答 时间:2024/04/29 05:00:31
把如下代码加入<body>区域中
<p onMouseMove="hello()">鼠标经过时就会变色的文本</p>
<script language="VBScript">
sub hello
document.fgColor=int(256*256*256*rnd)
end sub
</script>
高考问答是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:高考问答 时间:2024/04/29 05:00:31
把如下代码加入<body>区域中
<p onMouseMove="hello()">鼠标经过时就会变色的文本</p>
<script language="VBScript">
sub hello
document.fgColor=int(256*256*256*rnd)
end sub
</script>