网乐原科技

直播中

news center新闻中心
首页 > 资讯中心 > 软件技术

滚动的超级链接

发布时间:2008-08-01     阅读数: 次       来源:网乐原科技
将下列代码插入html代码的<head>和</head>:

<SCRIPT LANGUAGE="JavaScript">
<!--
var a,b,go,word;
function greenlight(word){
a=" 网页之作站点";
word.style.color="red";
linkSwitch();
}
function linkSwitch(){
clearTimeout(go);
b=a;
a=a.substring(1,100)+a.charAt(0);
esh.innerText=a;
go=setTimeout("linkSwitch()",100);
}
function stp(word){
clearTimeout(go);
esh.innerText=" 网页之作站点";
word.style.color="blue";
}
//-->
</SCRIPT>




将下列代码插入html代码的<body>和</body>之间:

<A HREF="http://netgo.silversand.net" onmouseover="greenlight(this)"; onmouseout="stp(this)"><span id="esh"> 网页之作站点</span></A>


网乐原科技

客服热线:0771-5761507

QQ:53290011

QQ邮箱:53290011@qq.com

工作时间:周一到周五 9:00-18:00

地址:广西南宁市江南万达写字楼C16栋1309室

物联网开发

关注我们

微信小商店 腾讯QQ客服 微信客服