国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > JavaScript > 正文

js實現九宮格圖片半透明漸顯特效的方法

2019-11-20 13:08:56
字體:
來源:轉載
供稿:網友

本文實例講述了js實現九宮格圖片半透明漸顯特效的方法。分享給大家供大家參考。具體實現方法如下:

復制代碼 代碼如下:
<html>
<title>九宮格圖片半透明漸顯效果</title>
<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=""><IMG
            class=invisible onmouseover=high(this) onmouseout=low(this)
            src="/images/m01.jpg" border=0 width=180px height=135px></A></TD>
          <TD width=90 background=text2.gif bgColor=#ff9f07><A
            href="/"><IMG
            class=invisible onmouseover=high(this) onmouseout=low(this)
            src="/images/m02.jpg" border=0 width=180px height=135px></A></TD>
          <TD width=90 background=text3.gif bgColor=#ff9f07><A
            href=""><IMG class=invisible
            onmouseover=high(this) onmouseout=low(this) src="/images/m03.jpg"
            border=0 width=180px height=135px></A></TD></TR>
        <TR>
          <TD background=text4.gif bgColor=#ff9f07><A
            href="/"><IMG
            class=invisible onmouseover=high(this) onmouseout=low(this)
            src="/images/m04.jpg" border=0 width=180px height=135px></A></TD>
          <TD background=text5.gif bgColor=#a5d523><A
            href="/"><IMG
            class=invisible onmouseover=high(this) onmouseout=low(this)
            src="/images/m05.jpg" border=0 width=180px height=135px></A></TD>
          <TD background=text6.gif bgColor=#c56e19><A
            href="/"><IMG
            class=invisible onmouseover=high(this) onmouseout=low(this)
            src="/images/m06.jpg" border=0 width=180px height=135px></A></TD></TR>
        <TR>
          <TD background=text12.gif bgColor=#ff9f07><A
            href="/"><IMG
            class=invisible onmouseover=high(this) onmouseout=low(this)
            src="/images/m07.jpg" border=0 width=180px height=135px></A></TD>
          <TD background=text8.gif bgColor=#c56e19><A
            href="/"><IMG
            class=invisible onmouseover=high(this) onmouseout=low(this) src="/images/m08.jpg"
            border=0 width=180px height=135px></A></TD>
          <TD background=text7.gif bgColor=#c56e19><A
            href="/"><IMG
            class=invisible onmouseover=high(this) onmouseout=low(this)
            src="/images/m09.jpg" border=0 width=180px height=135px></A></TD></TR></TBODY></TABLE>
</body>
</html>

希望本文所述對大家的javascript程序設計有所幫助。

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 松桃| 白朗县| 孝感市| 新巴尔虎左旗| 依安县| 玉门市| 独山县| 光山县| 锦屏县| 金川县| 安多县| 南溪县| 仪征市| 澎湖县| 文昌市| 桦甸市| 周至县| 璧山县| 繁昌县| 牙克石市| 巴里| 建湖县| 甘泉县| 浦江县| 台安县| 金塔县| 宣武区| 西贡区| 彰化市| 贡山| 葫芦岛市| 徐州市| 育儿| 胶南市| 澜沧| 肥乡县| 临朐县| 鹤山市| 合阳县| 儋州市| 沈丘县|