JS implementation of the nine Bongtu pieces of translucent fade special effects method _javascript skills

Source: Internet
Author: User

This article illustrates the method of realizing the fade effect of the nine Bongtu slices by JS. Share to everyone for your reference. The implementation methods are as follows:

Copy Code code as follows:
<title> Nine Bongtu piece translucent fade effect </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>
&LT;TD width=90 background=text1.gif bgcolor= #db4d0e
Height=90><a href= "" >Class=invisible Onmouseover=high (This) onmouseout=low (this)
Src= "/images/m01.jpg" border=0 width=180px height=135px></a></td>
&LT;TD width=90 background=text2.gif bgcolor= #ff9f07 ><a
href= "/" >Class=invisible Onmouseover=high (This) onmouseout=low (this)
Src= "/images/m02.jpg" border=0 width=180px height=135px></a></td>
&LT;TD width=90 background=text3.gif bgcolor= #ff9f07 ><a
Href= "" >Onmouseover=high (This) onmouseout=low (this) src= "/images/m03.jpg"
border=0 width=180px height=135px></a></td></tr>
<TR>
&LT;TD background=text4.gif bgcolor= #ff9f07 ><a
href= "/" >Class=invisible Onmouseover=high (This) onmouseout=low (this)
Src= "/images/m04.jpg" border=0 width=180px height=135px></a></td>
&LT;TD background=text5.gif bgcolor= #a5d523 ><a
href= "/" >Class=invisible Onmouseover=high (This) onmouseout=low (this)
Src= "/images/m05.jpg" border=0 width=180px height=135px></a></td>
&LT;TD background=text6.gif bgcolor= #c56e19 ><a
href= "/" >Class=invisible Onmouseover=high (This) onmouseout=low (this)
Src= "/images/m06.jpg" border=0 width=180px height=135px></a></td></tr>
<TR>
&LT;TD background=text12.gif bgcolor= #ff9f07 ><a
href= "/" >Class=invisible Onmouseover=high (This) onmouseout=low (this)
Src= "/images/m07.jpg" border=0 width=180px height=135px></a></td>
&LT;TD background=text8.gif bgcolor= #c56e19 ><a
href= "/" >Class=invisible Onmouseover=high (This) onmouseout=low (this) src= "/images/m08.jpg"
border=0 width=180px height=135px></a></td>
&LT;TD background=text7.gif bgcolor= #c56e19 ><a
href= "/" >Class=invisible Onmouseover=high (This) onmouseout=low (this)
Src= "/images/m09.jpg" border=0 width=180px height=135px></a></td></tr></tbody></ Table>
</body>

I hope this article will help you with your JavaScript programming.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.