叶子谷- 网页教程

RSS订阅 站长资讯通告:
搜索: 您现在的位置: 叶子谷 >> 网页特效 >> 其它特效 >> 正文

滚动的超级链接

2008-06-10 13:50:46 来源:转载 作者:佚名 【 点击:

脚本说明:
第一步:把如下代码加入<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>

 

第二步:把如下代码加入<body>区域中
  <A HREF="http://www.yezigu.com" onmouseover="greenlight(this)"; onmouseout="stp(this)"><span id="esh"> 网页之作站点</span></A>

Tags: 网页特效,链接  
责任编辑:cptedu
  • 发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】   
  • 上一篇文章:
  • 下一篇文章:
  • 姓 名: * Oicq:
    评 分: 1分 2分 3分 4分 5分
    评论内容:
    广告也精采
    热门文章
    设为首页 -加入收藏 - 联系我们 - 友情链接 - 版权声明 - 管理登陆