JS compatible with Firefox beautiful picture switch

Source: Internet
Author: User

JS compatible with Firefox beautiful picture switch

<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<title> compatible with Firefox beautiful picture switch Effect Code _ page code station (www.webdm.cn) </title>
<link href= "CSS Tutorial" >http://www.webdm.cn/images/20091005/ycstyle200905.css "rel=" stylesheet "type=" Text/css "/ >
<body>
<div style= "height:100px;" ></div>
<div id= "Toparea" >
<div class= "LeftBox1" >
<div class= "FOC" >
<div id= "bigimg" style= "Filter:progid:DXImageTransform.Microsoft.Fade (duration=0.5,overlap=1.0)" >
<div class= "Dis" ><a href= "target=" _blank ">

Onmouseout= "Setauto ()"/></a><br/><span><a href= "/" target= "_blank" > Welcome to the website code station </a ></span></div>
<div class= "Undis" ><a href= "target=" _blank ">

Onmouseout= "Setauto ()"/></a><br/><span><a href= "/" target= "_blank" > Boutique Web page code </a> </span></div>
<div class= "Undis" ><a href= "target=" _blank ">

Onmouseout= "Setauto ()"/></a><br/><span><a href= "/" target= "_blank" > Stunning women: Emotional charm Feng Ling Wang </a ></span></div>
<div class= "Undis" ><a href= "target=" _blank ">

Onmouseout= "Setauto ()"/></a><br/><span><a href= "/" target= "_blank" > Little fairy: sentimentally attached to 500 years </a ></span></div>
</div>
<div class= "Rbox" >
<div id= "Thumbimg" >
<div class= "cur" >

/></div><p></p><div class= "normal" >

/></div><p></p><div class= "normal" >

/></div><p></p><div class= "normal" >

/></div>
</div>
<div class= "More color_717" ></div>
</div>
<div class= "CB" ></div>
<script language= "Web Effects" >
var n=0;
var showimg = document.getElementById ("bigimg");
var shownum = document.getElementById ("thumbimg");
var ie = Document.all?true:false;
function Mea (value) {
N=value;
SETBG (value);
Plays (value);
}
function SETBG (value) {
for (Var i=0;i<4;i++)
if (value==i) {shownum.getelementsbytagname ("div") [i].classname= ' cur ';}
Else{shownum.getelementsbytagname ("div") [i].classname= ' Normal ';}
}
function plays (value) {
if (IE) {with (bigimg) {
Filters[0]. Apply ();
for (i=0;i<4;i++) i==value?showimg.getelementsbytagname ("div") [i].classname= ' Dis ': Showimg.getelementsbytagname ("div") [i].classname= ' Undis ';
Filters[0].play ();
}
}else{
for (i=0;i<4;i++) i==value?showimg.getelementsbytagname ("div") [i].classname= ' Dis ': Showimg.getelementsbytagname ("div") [i].classname= ' Undis ';
}                }
function Clearauto () {clearinterval (AutoStart)}
function Setauto () {Autostart=setinterval ("Auto (n)", 3000)}
function Auto () {
n++;
if (n>3) n=0;
Mea (n);
}
Window.onload = Setauto ();
</script>
</div>
</div>

</div>
<div id= "Vipbox" class= "warp960" ></div>
<div id= "Artlist" ></div>
</body>
<br/>

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.