脚本特效展示
网易
新浪
搜狐
把鼠标放在文字链接上,就会出现相应的说明信息.
以下代码加入<head>区域
以下代码加入<body>区域
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin var description = new Array(); description[0] = "<font color=blue>国内最大的综合性站点,内容丰富,国内第一.</font>"; description[1] = "<font color=red>国内最大的<b>新闻</b>站点,新闻更新非常快</font>"; description[2] = "<font color=green><i>国内最大的搜索引擎站点,人气非常旺.</i></font>"; // End --> </script> <table border="0"> <tr> <td valign=top width="50"> <a onMouseOver="Words.innerHTML = description[0];" href="../../../../www.163.com/default.htm">网易</a> <br><a onMouseOver="Words.innerHTML = description[1];" href="../../../../www.sina.com.cn/default.htm">新浪</a> <br><a onMouseOver="Words.innerHTML = description[2];" href="../../../../www.sohu.com/default.htm">搜狐</a> </td> <td width="600"> <!-- Cell with the descriptions --> <a id="Words">把鼠标放在文字链接上,就会出现相应的说明信息.</a> </td> </tr> </table>