状态栏中先单个字出现然后再整句

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

<!--把如下代码加入<body>区域中-->

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin

function doColor(item, color, bg) {

item.style.color = color; // changes text color

item.style.backgroundColor = bg; // changes background

}

function undoColor(item) {

item.style.color = "#000000"; // sets color back to black

item.style.backgroundColor = ""; // sets background to default

}

// End -->

</script>

<a name="link1" href="http://www.internet.com/" onmouseover="doColor(link1, 'yellow','black');" onmouseout="undoColor(link1);">internet.com</a>

<p>

<a name="link2" href="http://www.knowsky.com/" onmouseover="doColor(link2, 'blue','red');" onmouseout="undoColor(link2);">www.knowsky.com</a>

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航