电脑故障

位置:IT落伍者 >> 电脑故障 >> 浏览文章

特酷消隐字体


发布日期:2023/12/8
 

脚本说明:

第一步:把如下代码加入<head>区域中
<SCRIPT language="JavaScript">
<!
var thissize=
var textfont="隶书"

var textcolor= new Array()
textcolor[]=""
textcolor[]=""
textcolor[]=""
textcolor[]=""
textcolor[]=""
textcolor[]=""
textcolor[]=""
textcolor[]=""
textcolor[]=""
textcolor[]=""
textcolor[]=""
textcolor[]=""
textcolor[]="aaaaaa"
textcolor[]="bbbbbb"
textcolor[]="cccccc"
textcolor[]="dddddd"
textcolor[]="eeeeee"
textcolor[]="ffffff"
textcolor[]="ffffff"

var message = new Array()
message[]="欢迎光临素材"
message[]="请多停留一会"
message[]="你会有更多的收获"
message[]="请再次光临"
i_message=

var i_strength=
var i_message=
var timer

function glowtext() {
if(documentall) {
if (i_strength <=) {
glowdivinnerText=message[i_message]
documentallglowdivstylefilter="glow(color="+textcolor[i_strength]+
" strength=)"
i_strength++
timer=setTimeout("glowtext()")
}
else {
clearTimeout(timer)
setTimeout("deglowtext()")
}
}
}

function deglowtext() {
if(documentall) {
if (i_strength >=) {
glowdivinnerText=message[i_message]
documentallglowdivstylefilter="glow(color="+textcolor[i_strength]+
" strength=)"
i_strength
timer=setTimeout("deglowtext()")
}
else {
clearTimeout(timer)
i_message++
if (i_message>=messagelength) {i_message=}
i_strength=
intermezzo()
}
}
}

function intermezzo() {
glowdivinnerText=""
setTimeout("glowtext()")
}

//

</SCRIPT>

第二步:把如下代码加入<body>区域中
<div id="glowdiv" style="position:absolute;visibility:visible;width:
px;textalign:center; top:px;left:px;fontfamily:隶书;fontsize:
pt;color:"></div>

第三步:把<body>区中内容改为
<body bgcolor="#fefd" onLoad="glowtext()">

上一篇:浏览器打开层自动缓慢展开收缩实例代码

下一篇:用Portal来集成外部应用程序