19、爆炸滚动提示信息

19、爆炸滚动提示信息

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin

document.write('<div id="tooltip2" style="background-color: #FFCC00; FILTER: revealTrans(transition=12,duration=1); clip: rect(0px 300px 20px 0px); height: 20px; left: -800px; position: absolute; top: 0px; visibility: visible; width: 300px; z-index: 2"></div>');

if (!document.layers&&!document.all)

event="test"

function showtip2(current,e,text){

if (document.all&&document.readyState=="complete"){

document.all.tooltip2.innerHTML='<marquee style="font-family: 宋体; color: #000000; font-size: 9pt; border: 1 solid #000000" direction="right" width="300" height="20" behavior="alternate" scrollamount="6">'+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.filters.revealTrans.apply()

document.all.tooltip2.style.visibility="visible"

document.all.tooltip2.filters.revealTrans.play()}

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.all.tooltip2.filters.revealTrans.apply()

document.tooltip2.visibility="show"

document.all.tooltip2.filters.revealTrans.play()}}

function hidetip2(){

if (document.all)

document.all.tooltip2.style.visibility="hidden"

else if (document.layers){

clearInterval(currentscroll)

document.all.tooltip2.filters.revealTrans.apply()

document.tooltip2.visibility="hidden"

document.all.tooltip2.filters.revealTrans.play()}}

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=300}

hidetip2()

// End -->

</SCRIPT>

                     <a href="http://"><span style="text-decoration: none">  

                     </span></a>

                     <a href="http://" onmouseout="hidetip2()" onmouseover="showtip2(this,event,'很酷吧!!试试吧!')">

                     <span style="text-decoration: none">链接一</span></a><br>

                     <br>

                     <a href="http://"><span style="text-decoration: none">  

                     </span></a>

                     <a href="http://" onmouseout="hidetip2()" onmouseover="showtip2(this,event,'欢迎来7色天空做客')">

                     <span style="text-decoration: none">连接二 </span></a>

                     <p>  

                     <a href="http://" onmouseout="hidetip2()" onmouseover="showtip2(this,event,'ggggggggggggggggggggg')">

                     <span style="text-decoration: none">连接三 </span></a></td>

              </tr>

       </table>

</div>

<p><br>

<br>

 

 

 

</p>

 

Write a comment

Comments: 0