是不是写错了  hidTip2()函数

解决方案 »

  1.   

    错了,是没有<a ></a>
      

  2.   

    <script language="JavaScript">
    var i = 0
    var b=true
    var h
    function xx()

     if(b)
     i++
     else
     i--
     if(i>10)
     {b=false}
    if(i<0)
    {b=true}
     document.all.ho.filters[0].strength = i
    }
    </script>
    <body>
    <a href = "" onMouseOver='h=setInterval("xx()",150)' onmouseout="clearInterval(h)">this is test</a>
    <div id = "ho">welcom to chinaMent</div>
      

  3.   

    <head>
    <style>
        #ho{
        font-size:30;
    filter:glow(color=red,strength=10);
    width:100%;
    visibility:visible;
         }
    </style>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <script language="JavaScript">
    var i = 0
    var b=true
    var h
    function xx()

     if(b)
     i++
     else
     i--
     if(i>10)
     {b=false}
    if(i<0)
    {b=true}
     document.all.ho.filters[0].strength = i
    }
    </script>
    <body>
    <a href = "" onMouseOver='h=setInterval("xx()",150)' onmouseout="clearInterval(h)">this is test</a>
    <div id = "ho">welcom to chinaMent</div>