HTML代码及调用:
<script src="http://libs.baidu.com/jquery/1.7.2/jquery.min.js"></script> <link rel="stylesheet" href="css/SYTLE.css" /> <div class="foucebox"> <div class="bd"> <div class="showDiv"> <a href="http://fk.dayoo.com/nafenmijibing/nafenmishitiao/"><img src="images/nfmb.jpg" /></a> <div class="foucebox_bg"></div> <div> <h2 style="bottom: 60px;"><a href="http://fk.dayoo.com/nafenmijibing/nafenmishitiao/">内分泌平衡四维疗法</a></h2> <p style="bottom: 10px;">针对月经失调、闭经、崩漏、习惯性流产、人流术后不孕、子宫发育不良等引起女性不孕的症状及原因,以中医方法辨证施治,临床上通过高科技检测设备找准不孕不育病因后,用 “内分泌平衡四维疗法”中西医结合进行治疗</p></div></div> <div class="showDiv"><a href="http://fk.dayoo.com/nafenmijibing/yuejingbudiao/"><img src="images/yjb.jpg" /></a> <div class="foucebox_bg"></div> <div> <h2 style="bottom: 60px;"><a href="http://fk.dayoo.com/nafenmijibing/yuejingbudiao/">中西医理疗法</a></h2> <p style="bottom: 10px;">中医为主西医为辅,辩证论治,调整脏器功能,均衡内分泌,主治月经推迟、月经提前、不来月经、月经量过少或过多、痛经、月经颜色异常以及闭经</p></div></div> <div class="showDiv"><a href="http://fk.dayoo.com/buyunbuyu/"><img src="images/byb.jpg" /></a> <div class="foucebox_bg"></div> <div> <h2 style="bottom: 60px;"><a href="http://fk.dayoo.com/buyunbuyu/">治不育 真工夫</a></h2> <p style="bottom: 10px;">对确诊的病情,采用解决此类病症目前最高新的技术,运用最先进治疗设备,对病症进行精准治疗,为患者一步到位解决不孕难题。</p></div></div> <div class="showDiv"><a href="http://fk.dayoo.com/tech/7407.html"><img src="images/sdlb.jpg" /></a> <div class="foucebox_bg"></div> <div> <h2><a href="http://fk.dayoo.com/tech/7407.html">智能数码水动力系统</a></h2> <p style="bottom: 10px;">引进美国全智能型“数码水动力系统”,纳入ONELOOK(一看准)生育镜不孕不育智能型诊疗系统投入临床使用,为千万不孕家庭缔造生命摇篮,开辟了不孕症诊疗的广阔前景</p></div></div> <div class="showDiv"><a href="http://fk.dayoo.com/buyunbuyu/shuluanguanbuyun/"><img src="images/slgb.jpg" /></a> <div class="foucebox_bg"></div> <div> <h2><a href="http://fk.dayoo.com/buyunbuyu/shuluanguanbuyun/">无痛输卵管造影术</a></h2> <p style="bottom: 10px;">输卵管造影检查是帮助分析输卵管病因行之有效的技术。输卵管造影检查损伤小并且无痛,在有经验的医生操作下并附以数字X光机的应用能对输卵管堵塞作出正确诊断,准确率达99.8%</p></div></div> <div class="showDiv"><a href="http://fk.dayoo.com/tech/7399.html"><img src="images/syjb.jpg" /></a> <div class="foucebox_bg"></div> <div> <h2><a href="http://fk.dayoo.com/tech/7399.html">智能型生育镜</a></h2> <p style="bottom: 10px;">智能型生育镜诊疗系统参考美国JCI科学严谨诊疗标准,在全智能化影像下,按子宫内外部位逐一进行定位准确的全面诊疗,客观、全面诊断出宫颈、宫腔、输卵管伞端及子宫的病变部位、范围与程度</p></div></div> <div class="showDiv"><a href="http://fk.dayoo.com/nafenmijibing/tongjing/"><img src="images/tjb.jpg" /></a> <div class="foucebox_bg"></div> <div> <h2><a href="http://fk.dayoo.com/nafenmijibing/tongjing/">跟痛经说再见</a></h2> <p style="bottom: 10px;">引进了国际先进技术"莱博拉Mini"微创手术,通过手术方式,将支配子宫的痛觉神经阻断。莱博拉Mini手术,微创不伤身,不影响生育,不影响性快感。</p></div></div> <div class="showDiv"><a href="http://fk.dayoo.com/renliu/wutongrenliu/"><img src="images/rlb.jpg" /></a> <div class="foucebox_bg"></div> <div> <h2><a href="http://fk.dayoo.com/renliu/wutongrenliu/">CEO尊享人流</a></h2> <p style="bottom: 10px;">突破单一的手术模式,将手术器械、无菌环境、手术专家、手术方式、康复维养、保宫暖宫、营养促进、术后的跟踪服务等多种要素高度整合,360度完美调理、给患者最专业、最贴心的服务</p></div></div></div> <div class="hd"> <ul> <li class="on"><a href="http://fk.dayoo.com/nafenmijibing/nafenmishitiao/"><img src="images/nfm.jpg" /><span class="txt">内分泌平衡四维疗法</span><span class="txt_bg"></span><span class="mask"></span></a></li> <li><a href="http://fk.dayoo.com/nafenmijibing/yuejingbudiao/"><img src="images/yj.jpg" /><span class="txt">中西医理疗法</span><span class="txt_bg"></span><span class="mask"></span></a></li> <li><a href="http://fk.dayoo.com/buyunbuyu/"><img src="images/byb.jpg" /><span class="txt">治不育 真工夫</span><span class="txt_bg"></span><span class="mask"></span></a></li> <li><a href="http://fk.dayoo.com/tech/7407.html"><img src="images/sdl.jpg" /><span class="txt">智能数码水动力系统</span><span class="txt_bg"></span><span class="mask"></span></a></li> <li><a href="http://fk.dayoo.com/buyunbuyu/shuluanguanbuyun/"><img src="images/slg.jpg" /><span class="txt">无痛输卵管造影术</span><span class="txt_bg"></span><span class="mask"></span></a></li> <li><a href="http://fk.dayoo.com/tech/7399.html"><img src="images/syj.jpg" /><span class="txt">智能型生育镜</span><span class="txt_bg"></span><span class="mask"></span></a></li> <li><a href="http://fk.dayoo.com/nafenmijibing/tongjing/"><img src="images/tj.jpg" /><span class="txt">跟痛经说再见</span><span class="txt_bg"></span><span class="mask"></span></a></li> <li><a href="http://fk.dayoo.com/renliu/wutongrenliu/"><img src="images/rl.jpg" /><span class="txt">CEO尊享人流</span><span class="txt_bg"></span><span class="mask"></span></a></li> </ul></div></div> <script type="text/javascript" src="js/jquery.SuperSlide.js"></script> <script type="text/javascript"> jQuery(".foucebox").slide({ effect:"fold", autoPlay:true, delayTime:300, startFun:function(i){jQuery(".foucebox .showDiv").eq(i).find("h2").css({display:"none",bottom:0}).animate({opacity:"show",bottom:"60px"},300);jQuery(".foucebox .showDiv").eq(i).find("p").css({display:"none",bottom:0}).animate({opacity:"show",bottom:"10px"},300);}}); </script> <div style="text-align:center;margin:50px 0; font:normal 14px/24px ‘MicroSoft YaHei‘;"> <p>适用浏览器:IE8、360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗. </p></div>
CSS样式:
* {margin:0;padding:0;list-style:none;border:0;} .foucebox {font:normal 12px/22px 宋体;width:934px;height:400px;background:#fff;margin:30px auto;padding:7px;border:#ddd 1px solid; /* Gecko browsers */ -moz-border-radius-topleft: 3px;-moz-border-radius-topright: 3px;-moz-border-radius-bottomleft: 3px;-moz-border-radius-bottomright: 3px;/* Webkit browsers */ -webkit-border-top-left-radius: 3px;-webkit-border-top-right-radius: 3px;-webkit-border-bottom-left-radius: 3px;-webkit-border-bottom-right-radius: 3px;/* W3C syntax */ border-top-left-radius: 3px;border-top-right-radius: 3px;border-bottom-right-radius: 3px;border-bottom-left-radius: 3px;} .foucebox .bd {position:relative;float:right;width:680px;height:400px;overflow:hidden;} .foucebox .showDiv {position:relative;width:680px;height:400px;} .foucebox .showDiv img {width:680px;height:400px;/* Gecko browsers */ -moz-border-radius-topleft: 3px;-moz-border-radius-topright: 3px;-moz-border-radius-bottomleft: 3px;-moz-border-radius-bottomright: 3px;/* Webkit browsers */ -webkit-border-top-left-radius: 3px;-webkit-border-top-right-radius: 3px;-webkit-border-bottom-left-radius: 3px;-webkit-border-bottom-right-radius: 3px;/* W3C syntax */ border-top-left-radius: 3px;border-top-right-radius: 3px;border-bottom-right-radius: 3px;border-bottom-left-radius: 3px;} .foucebox .showDiv p {position:absolute;left:20px;bottom:0;padding-right:20px;color:#aaa;z-index:9;height:44px;} .foucebox .showDiv h2 {position:absolute;left:20px;bottom:0;width:380px;height:34px;background:url(../images/foucebox_h2.png) no-repeat 0 4px;_background:none;padding-left:40px;_padding-left:0;font-size:24px;font-family:"Microsoft Yahei";line-height:34px;z-index:9;overflow:hidden;} .foucebox .showDiv h2 a {color:#FFF;font-weight:normal;text-decoration:none;} .foucebox .foucebox_bg {position:absolute;left:0;bottom:0;width:680px;height:107px;background:#000;filter:alpha(opacity=60);opacity:0.6;z-index:8;overflow:hidden;} .foucebox .hd {width:254px;height:318px;float:left;} .foucebox .hd ul li {width:120px;height:95px;float:left;margin:0 7px 7px 0px;display:inline;position:relative;} .foucebox .hd ul a {display:block;width:120px;height:95px;} .foucebox .hd ul img {width:114px;height:88px;border:3px solid #888; /* Gecko browsers */ -moz-border-radius-topleft: 3px;-moz-border-radius-topright: 3px;-moz-border-radius-bottomleft: 3px;-moz-border-radius-bottomright: 3px;/* Webkit browsers */ -webkit-border-top-left-radius: 3px;-webkit-border-top-right-radius: 3px;-webkit-border-bottom-left-radius: 3px;-webkit-border-bottom-right-radius: 3px;/* W3C syntax */ border-top-left-radius: 3px;border-top-right-radius: 3px;border-bottom-right-radius: 3px;border-bottom-left-radius: 3px;} .foucebox .hd ul .txt_bg {width:114px;height:24px;position:absolute;left:3px;top:67px;background:url(../images/bg_png.png) no-repeat;_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src="../images/bg_png.png");} .foucebox .hd ul .txt {width:110px;height:24px;line-height:24px;color:#fff;position:absolute;left:4px;bottom:4px;z-index:2;text-align:right;padding-right:5px;overflow:hidden;} .foucebox .hd ul .mask {width:114px;height:89px;display:block;position:absolute;left:3px;bottom:3px;z-index:3;filter:progid:DXImageTransform.Microsoft.gradient(enabled=‘true‘,startColorstr=‘#66000000‘,endColorstr=‘#66000000‘);background:rgba(0,0,0,0.4);} .foucebox .hd ul a:hover .mask,.foucebox .hd ul .on .mask {display:none;position:relative;} .foucebox .hd ul a:hover img,.foucebox .hd ul .on img {border-color:#1689d9;} .foucebox .hd ul .on .txt_bg {background:#1689d9;} .foucebox .hd ul a:hover {color:#fff;} .foucebox .hd ul a:hover .txt_bg {background:#1689d9;}
JS文件:SuperSlide 可以去下载最新;
时间: 2024-11-10 20:30:20