128、鼠标打开半透明图片

128、鼠标打开半透明图片

脚本说明:

把如下代码加入<body>区域中

<STYLE type=text/css>.invisible {

       FILTER: alpha(opacity=0)

}

</STYLE>

 

<SCRIPT language=JavaScript1.2>

<!--

function high(which2){

theobject=which2

highlighting=setInterval("highlightit(theobject)",50)

}

function low(which2){

clearInterval(highlighting)

which2.filters.alpha.opacity=0

}

function highlightit(cur2){

if (cur2.filters.alpha.opacity<100)

cur2.filters.alpha.opacity+=10

else if (window.highlighting)

clearInterval(highlighting)

}

//-->

</SCRIPT>

      <TABLE borderColor=#999999 cellSpacing=8 cellPadding=0 width=302

        border=0><TBODY>

        <TR>

          <TD width=90 background=text1.gif bgColor=#db4d0e

            height=90><A href="http://www.7stk.com/mall/goods/goodsy.htm"><IMG

            class=invisible onmouseover=high(this) onmouseout=low(this)

            src="cloths.jpg" border=0></A></TD>

          <TD width=90 background=text2.gif bgColor=#ff9f07><A

            href="http://www.7stk.com/mall/goods/goodsc.htm"><IMG

            class=invisible onmouseover=high(this) onmouseout=low(this)

            src="watch.jpg" border=0></A></TD>

          <TD width=90 background=text3.gif bgColor=#ff9f07><A

            href="http://www.7stk.com/mall/goods/toy.htm"><IMG class=invisible

            onmouseover=high(this) onmouseout=low(this) src="toy.gif"

            border=0></A></TD></TR>

        <TR>

          <TD background=text4.gif bgColor=#ff9f07><A

            href="http://www.7stk.com/mall/goods/goodsb.htm"><IMG

            class=invisible onmouseover=high(this) onmouseout=low(this)

            src="bag.jpg" border=0></A></TD>

          <TD background=text5.gif bgColor=#a5d523><A

            href="http://www.7stk.com/mall/goods/handset1.htm"><IMG

            class=invisible onmouseover=high(this) onmouseout=low(this)

            src="handset.gif" border=0></A></TD>

          <TD background=text6.gif bgColor=#c56e19><A

            href="http://www.7stk.com/mall/goods/good_others.htm"><IMG

            class=invisible onmouseover=high(this) onmouseout=low(this)

            src="record.gif" border=0></A></TD></TR>

        <TR>

          <TD background=text12.gif bgColor=#ff9f07><A

            href="http://www.7stk.com/mall/goods/towyears.htm"><IMG

            class=invisible onmouseover=high(this) onmouseout=low(this)

            src="towyears.gif" border=0></A></TD>

          <TD background=text8.gif bgColor=#c56e19><A

            href="http://www.7stk.com/mall/goods/good_fish1.htm"><IMG

            class=invisible onmouseover=high(this) onmouseout=low(this) src=""

            border=0></A></TD>

          <TD background=text7.gif bgColor=#c56e19><A

            href="http://www.7stk.com/static/buytic/index.htm"><IMG

            class=invisible onmouseover=high(this) onmouseout=low(this)

            src="piao.gif" border=0></A></TD></TR></TBODY></TABLE>

      

 

Write a comment

Comments: 0