📄 滚动式超级链接.txt
字号:
滚动式超级链接
脚本说明:
第一步:把如下代码加入<head>区域中
<SCRIPT LANGUAGE="JavaScript">
<!--
var a,b,go,word;
function greenlight(word){
a="JAVASCRIPT大本营";
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="JAVASCRIPT大本营";
word.style.color="blue";
}
//-->
</SCRIPT>
第二步:把如下代码加入<body>区域中
<A HREF="http://javascript2000.126.com" onmouseover="greenlight(this)"; onmouseout="stp(this)"><span id="esh"> JAVASCRIPT大本营</span></A>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -