hujingjian 发表于 2007-4-27 11:16:55

***链接特效***跑马灯式样的站点栏目指南

把下列代码加到网页的<body></body>标签之间 从google下载我的照片管理软件
脚本说明:
把如下代码加入<body>区域中(你可以对链接及说明作相应修改)

<div id="tooltip2" style="position:absolute;visibility:hidden;clip:rect(0 150 50 0);width:150px;background-color:seashell">
<layer name="nstip" width=1000px bgcolor="seashell"></layer>
</div>
<script language="javascript">
<!--
if (!document.layers&&!document.all)
event="test"
function showtip2(current,e,text){

if (document.all&&document.readystate=="complete"){
document.all.tooltip2.innerhtml='<marquee style="border:1px solid black">'+text+'</marquee>'
document.all.tooltip2.style.pixelleft=event.clientx+document.body.scrollleft+10
document.all.tooltip2.style.pixeltop=event.clienty+document.body.scrolltop+10
document.all.tooltip2.style.visibility="visible"
}

else if (document.layers){
document.tooltip2.document.nstip.document.write('<b>'+text+'</b>')
document.tooltip2.document.nstip.document.close()
document.tooltip2.document.nstip.left=0
currentscroll=setinterval("scrolltip()",100)
document.tooltip2.left=e.pagex+10
document.tooltip2.top=e.pagey+10
document.tooltip2.visibility="show"
}
}
function hidetip2(){
if (document.all)
document.all.tooltip2.style.visibility="hidden"
else if (document.layers){
clearinterval(currentscroll)
document.tooltip2.visibility="hidden"
}
}

function scrolltip(){
if (document.tooltip2.document.nstip.left>=-document.tooltip2.document.nstip.document.width)
document.tooltip2.document.nstip.left-=5
else
document.tooltip2.document.nstip.left=150
}
//-->


</script>
      <table border="0">
      <tr>
      <td><font face="arial, helvetica, sans-serif" size="3"><b>
          <a href="ye0.htm" onmouseover="showtip2(this,event,'字符从天而降!')" onmouseout="hidetip2()">新的链接</a></b></font></td>
      <td><font face="arial, helvetica, sans-serif" size="3"><b><a href="ye1.htm" onmouseover="showtip2(this,event,'状态栏跑马灯1!')" onmouseout="hidetip2()">新的链接</a></b></font></td>
      <td><font face="arial, helvetica, sans-serif" size="3"><b><a href="ye2.htm" onmouseover="showtip2(this,event,'状态栏跑马灯2!')" onmouseout="hidetip2()">新的链接</a>
          </b></font></td>
      <td><font face="arial, helvetica, sans-serif" size="3"><b><a href="ye3.htm" onmouseover="showtip2(this,event,'页面自动滚屏效果!')" onmouseout="hidetip2()">新的链接</a>
          </b></font></td>
      </tr>
      <tr>
      <td><font face="arial, helvetica, sans-serif" size="3"><b><a href="ye1.htm" onmouseover="showtip2(this,event,'隐藏显示字符脚本!')" onmouseout="hidetip2()">新的链接</a></b></font></td>
      <td><font face="arial, helvetica, sans-serif" size="3"><b><a href="ye2.htm" onmouseover="showtip2(this,event,'滚动显示的logo!')" onmouseout="hidetip2()">新的链接</a></b></font></td>

      <td><font face="arial, helvetica, sans-serif" size="3"><b><a href="ye3.htm" onmouseover="showtip2(this,event,'鼠标跟踪器!')" onmouseout="hidetip2()">新的链接</a></b></font></td>
      <td> </td>
      </tr>
    </table>


      










--------------------------------------

拥有三人行论坛管理系列软件,一个人就可以管理一个论坛的更新维护。还能使您的论坛有千人在线的真实火暴效果,让您不在为论坛因没有人气而留不住会员而烦恼,使您的论坛早日成为一流的论坛。详情请登陆网站:http://www.cnsrx.cn 三人行论坛管理软件,站长必备的专业好工具。(您使用的是免费版本,购买收费版本后,将不带广告。业务QQ:247216 44985227)
页: [1]
查看完整版本: ***链接特效***跑马灯式样的站点栏目指南