常见新闻幻灯片图片切换特效,自定义切换图片数量、切换速度、图片大小,鼠标经过暂停,移开后继续切换显示。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <meta name="keywords" content="武鸣人网站,武鸣信息网,武鸣本地网,武鸣信息资源平台,减肥,健身,励志,励志语录,js特效,网页特效,www.wuming.ren"> <meta name="description" content="欢迎来到武鸣人信息资源平台,各种信息免费发布,资源共享合作共赢,分享互联网流行的励志语录经典短句,减肥健身健康小常识及打卡记录,收集各种js特效代码。"> <title>网站图片右下角带编号切换展示特效_武鸣人</title> <style type="text/css"> .on_wuming_ren{background:url(/img/20240307_www_wuming_ren_64.gif);color:#FFF; line-height:15px;font-size:12px;} .off_wuming_ren{background:url(/img/20240307_www_wuming_ren_65.gif);color:#000; line-height:15px;font-size:12px;} a.bla{color:#000;text-decoration:none;} a.bla:hover{color:#F00; text-decoration:underline} </style> </head> <body> <a href="https://www.wuming.ren">武鸣人</a>,各种信息资源免费发布,分享励志语录经典短句,减肥健身常识,各种js特效代码。网站很好记住,wuming.ren(武鸣拼音.ren域名后缀)<hr> <!--欢迎来到武鸣人信息资源平台,各种信息免费发布,资源共享合作共赢,分享互联网流行的励志语录经典短句,减肥健身健康小常识及打卡记录,收集各种js特效代码。--> <script type="text/javascript" src="https://www.wuming.ren/ad/tc.js"></script> <script type="text/javascript" src="https://www.wuming.ren/ad/a.js"></script> <!--<script type="text/javascript" src="https://www.wuming.ren/ad/a.js"></script>--> <table width="312" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="312"><div id="fc" style="width:310px;height:240px;filter:progid:DXImageTransform.Microsoft.Fade ( duration=0.5,overlap=1.0 );"> <div style="display:block;"> <a href="https://www.wuming.ren" target="_blank"><img src="/img/20240307_www_wuming_ren_66.jpg" width="310" height="240" border="0" onMouseOver="clear_www_wuming_ren();" onMouseOut="auto_www_wuming_ren()" /></a></div> <div style="display:none;"> <a href="https://www.wuming.ren" target="_blank"><img src="/img/20240307_www_wuming_ren_67.jpg" width="310" height="240" border="0" onMouseOver="clear_www_wuming_ren();" onMouseOut="auto_www_wuming_ren()" /></a></div> <div style="display:none;"> <a href="https://www.wuming.ren" target="_blank"><img src="/img/20240307_www_wuming_ren_68.jpg" width="310" height="240" border="0" onMouseOver="clear_www_wuming_ren();" onMouseOut="auto_www_wuming_ren()" /></a></div> </div></td> </tr> <tr> <td height="26" background="/img/20240307_www_wuming_ren_69.gif"> <table width="310" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="253" align="center" onmouseover="clear_www_wuming_ren();" onMouseOut="auto_www_wuming_ren()"> <div id="con"> <div style="display:block;"><a href="https://www.wuming.ren" target="_blank" class="bla">武鸣人一号广告图片</a></div> <div style="display:none;"><a href="https://www.wuming.ren" target="_blank" class="bla">武鸣人二号广告图片</a></div> <div style="display:none;"><a href="https://www.wuming.ren" target="_blank" class="bla">武鸣人三号广告图片</a></div> </div> </td> <td width="63"> <table border="0" align="center" cellpadding="0" cellspacing="3" class="lhn" id="num"> <tr> <td width="15" height="15" align="center" background="/img/20240307_www_wuming_ren_64.gif" class="on_wuming_ren" onclick="to_www_wuming_ren(0);" onmouseover="clear_www_wuming_ren();" onmouseout="auto_www_wuming_ren()" style="cursor:pointer;">1</td> <td width="15" align="center" background="/img/20240307_www_wuming_ren_65.gif" class="off_wuming_ren" onclick="to_www_wuming_ren(1);" onmouseover="clear_www_wuming_ren();" onmouseout="auto_www_wuming_ren()" style="cursor:pointer;">2</td> <td width="15" align="center" background="/img/20240307_www_wuming_ren_65.gif" class="off_wuming_ren" onclick="to_www_wuming_ren(2);" onmouseover="clear_www_wuming_ren();" onmouseout="auto_www_wuming_ren()" style="cursor:pointer;">3</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> <script type="text/javascript"> var n=0; var showNum = document.getElementById("num"); function to_www_wuming_ren(value){ n=value; setBg(value); plays(value); cons(value); }//武鸣人网站https://www.wuming.ren 网站很好记住,wuming.ren(武鸣拼音.ren域名后缀) function setBg(value){ for(var i=0;i<3;i++) if(value==i){ showNum.getElementsByTagName("td")[i].className='on_wuming_ren'; } else{ showNum.getElementsByTagName("td")[i].className='off_wuming_ren'; } }//武鸣人网站https://www.wuming.ren 网站很好记住,wuming.ren(武鸣拼音.ren域名后缀) function plays(value){ try { with (fc) { filters[0].Apply(); for(i=0;i<3;i++)i==value?children[i].style.display="block":children[i].style.display="none"; filters[0].play(); } } catch(e) { var divlist = document.getElementById("fc").getElementsByTagName("div"); for(i=0;i<3;i++) { i==value?divlist[i].style.display="block":divlist[i].style.display="none"; } } }//武鸣人网站https://www.wuming.ren 网站很好记住,wuming.ren(武鸣拼音.ren域名后缀) function cons(value){ try { with (con) { for(i=0;i<3;i++)i==value?children[i].style.display="block":children[i].style.display="none"; } } catch(e) { var divlist = document.getElementById("con").getElementsByTagName("div"); for(i=0;i<3;i++) { i==value?divlist[i].style.display="block":divlist[i].style.display="none"; } } }//武鸣人网站https://www.wuming.ren 网站很好记住,wuming.ren(武鸣拼音.ren域名后缀) function clear_www_wuming_ren(){clearInterval(autoStart)} function auto_www_wuming_ren(){autoStart=setInterval("auto(n)", 3000)} function auto(){ n++; if(n>2)n=0; to_www_wuming_ren(n); } function sub(){ n--; if(n<0)n=2; to_www_wuming_ren(n); }//武鸣人网站https://www.wuming.ren 网站很好记住,wuming.ren(武鸣拼音.ren域名后缀) auto_www_wuming_ren(); </script> </body> </html>
本文来自武鸣人网站,转载请注明出处