设为首页 加入收藏
当前位置:首页 > 整站内容 > 特效代码 > 状态栏特效 > 详细内容
状态栏特殊效果
发布时间:2010-3-28  阅读次数:8854  字体大小: 【】 【】【

<html>
<head>
<title>网页特效|Linkweb.cn/Js|---状态栏特殊效果</title>
<style type="text/css">
<!--
body {   font-family: "宋体"; font-size: 9pt; margin-top: 0px; margin-left: 0px; margin-right: 0px}
A { COLOR: black; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: none }
  A:hover { COLOR: red; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: underline }
a:active         { font: 9pt "宋体"; cursor: hand; color: #FF0033 }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">

   <!-- Funny text script by Bart Jellema
       var hellotext="网页特效观止欢迎你"
       var thetext=""
       var started=false
       var step=0
       var times=1

       function welcometext()
       {
           times--
           if (times==0)
           {
               if (started==false)
               {
                   started = true;
                   window.status = hellotext;
                   setTimeout("anim()",1);
               }
               thetext = hellotext;
           }
       }

       function showstatustext(txt)
       {
           thetext = txt;
           setTimeout("welcometext()",4000)
           times++
       }

       function anim()
       {
           step++
           if (step==7) {step=1}
           if (step==1) {window.status='>==='+thetext+'===<'}
           if (step==2) {window.status='=>=='+thetext+'==<='}
           if (step==3) {window.status='>=>='+thetext+'=<=<'}
           if (step==4) {window.status='=>=>'+thetext+'<=<='}
           if (step==5) {window.status='==>='+thetext+'=<=='}
           if (step==6) {window.status='===>'+thetext+'<==='}
           setTimeout("anim()",200);
       }
   // Funny text script by Bart Jellema -->

</script>
</head>

<body onLoad="welcometext()">
<br>
<br>
<center><font color=red face="隶书" size=6>状态栏特殊效果</font></center>
<br>
<br><center>
<table border=5 bordercolor=blue borderlight=green>
<tr><td align=center><font size=4 color=red face="Arial, Helvetica, sans-serif"><strong>状态栏为效果显示区!</strong></font></td></tr>
</table></center>
<br>
<br>
<center>
&nbsp;<SCRIPT LANGUAGE="JavaScript">

<!-- hide

function goHist(a)

{

     history.go(a);

}

//-->

</script></center>
<br>
<br>
</body>
</html>

预览效果

天猫商城    聚划算    天猫电器城    淘宝旅行    天猫超市    淘宝游戏    天猫品牌特卖    天猫母婴

我要评论
  • 匿名发表
  • [添加到收藏夹]
  • 发表评论:(匿名发表无需登录,已登录用户可直接发表。) 登录状态:未登录
最新评论
所有评论[0]
    暂无已审核评论!

全站链接: 
收录查询
分享按钮