




免费预览已结束,剩余1页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
QPSH网页特效 18115.com首页图片切换/* Reset style */* margin:0; padding:0; word-break:break-all; body background:#fff;color:#000000;font:12px/1.6em Helvetica, Arial, sans-serif;margin-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;h1, h2, h3, h4, h5, h6 font-size:1em; a color:#0287CA; text-decoration:none; a:hover text-decoration:underline; ul, li list-style:none; fieldset, img border:none; legend display:none; em, strong, cite, th font-style:normal; font-weight:normal; input, textarea, select, button font:12px Helvetica, Arial, sans-serif; table border-collapse:collapse; html overflow:-moz-scrollbars-vertical; /*Always show Firefox scrollbar*/* iFocus style */#ifocus width:650px; height:245px; margin:0px; border:1px solid #DEDEDE; background:#F8F8F8; #ifocus_pic display:inline; position:relative; float:left; width:540px; height:225px; overflow:hidden; margin:10px 0 0 10px; #ifocus_piclist position:absolute; #ifocus_piclist li width:550px; height:225px; overflow:hidden; #ifocus_piclist img width:550px; height:225px; #ifocus_btn display:inline; float:right; width:91px; margin:9px 9px 0 0; #ifocus_btn li width:91px; height:57px; cursor:pointer; opacity:0.5; -moz-opacity:0.5; filter:alpha(opacity=50); #ifocus_btn img width:75px; height:45px; margin:7px 0 0 11px; #ifocus_btn .current background: url(img/ifocus_btn_bg.gif) no-repeat; opacity:1; -moz-opacity:1; filter:alpha(opacity=100); #ifocus_opdiv position:absolute; left:0; bottom:0; width:545px; height:35px; background:#000; opacity:0.5; -moz-opacity:0.5; filter:alpha(opacity=50); #ifocus_tx position:absolute; left:8px; bottom:8px; color:#FFF; #ifocus_tx .normal display:none; function $(id) return document.getElementById(id); function addLoadEvent(func)var oldonload = window.onload;if (typeof window.onload != function) window.onload = func; else window.onload = function()oldonload();func();function moveElement(elementID,final_x,final_y,interval) if (!document.getElementById) return false; if (!document.getElementById(elementID) return false; var elem = document.getElementById(elementID); if (elem.movement) clearTimeout(elem.movement); if (!elem.style.left) elem.style.left = 0px; if (!elem.style.top) elem.style.top = 0px; var xpos = parseInt(elem.style.left); var ypos = parseInt(elem.style.top); if (xpos = final_x & ypos = final_y) return true; if (xpos final_x) var dist = Math.ceil(xpos - final_x)/10); xpos = xpos - dist; if (ypos final_y) var dist = Math.ceil(ypos - final_y)/10); ypos = ypos - dist; elem.style.left = xpos + px; elem.style.top = ypos + px; var repeat = moveElement(+elementID+,+final_x+,+final_y+,+interval+); elem.movement = setTimeout(repeat,interval);function classNormal(iFocusBtnID,iFocusTxID)var iFocusBtns= $(iFocusBtnID).getElementsByTagName(li);var iFocusTxs = $(iFocusTxID).getElementsByTagName(li);for(var i=0; i=2) iFocusBtns1.onmouseover = function() moveElement(ifocus_piclist,0,-225,5);classNormal(ifocus_btn,ifocus_tx);classCurrent(ifocus_btn,ifocus_tx,1);if (listLength=3) iFocusBtns2.onmouseover = function() moveElement(ifocus_piclist,0,-450,5);classNormal(ifocus_btn,ifocus_tx);classCurrent(ifocus_btn,ifocus_tx,2);if (listLength=4) iFocusBtns3.onmouseover = function() moveElement(ifocus_piclist,0,-675,5);classNormal(ifocus_btn,ifocus_tx);classCurrent(ifocus_btn,ifocus_tx,3);setInterval(autoiFocus(),3500);var atuokey = false;function autoiFocus() if(!$(ifocus) return false;if(atuokey) return false;var focusBtnList = $(ifocus_btn).getElementsByTagName(li);var listLength = focusBtnList.length;for(var i=0; ilistLength; i+) if (focusBtnListi.className = current) var currentNum = i;if (currentNum=0&listLength!=1 )moveElement(ifocus_piclist,0,-225,5);classNormal(ifocus_btn,ifocus_tx);classCurrent(ifocus_btn,ifocus_tx,1);if (currentNum=1&listLength!=2 )moveElement(ifocus_piclist,0,-450,5);classNormal(ifocus_btn,ifocus_tx);classCurrent(ifocus_btn,ifocus_tx,2);if (currentNum=2&listLength!=3 )moveElement(ifocus_piclist,0,-675,5);classNormal(ifocus_btn,ifocus_tx);classCurrent(ifocus_btn,ifocus_tx,3);if (currentNum=3 )moveElement(ifocus_piclist,0,0,5);classNormal(ifocus_btn,ifocus_tx);classCurrent(ifocus_btn,ifocus_tx,0);if (currentNum=1&listLength=2 )moveElement(ifocus_piclist,0,0,5);classNormal(ifocus_btn,ifocus_tx);classCurrent(ifocus_btn,ifocus_tx,0);if (currentNum=2&listLe
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年大学工会学专业题库- 工会参与企业社会责任实践
- 2025年大学卫生教育专业题库- 大学生饮食与运动健康习惯的养成与卫生教育
- 2025年大学工会学专业题库- 工会对员工工作满意度的影响
- 2025年大学劳动教育专业题库- 劳动教育与就业能力的提升
- 消防标准化建设安全管理知识2025年消防执业资格考试题库
- 2025年大学华文教育专业题库- 大学生华文口语发展研究
- 2025年医保知识考试题库及答案-医保政策宣传与实际案例解析
- 2025年教师资格《综合素质》教育案例考试题库及答案
- 2025年大学人文教育专业题库- 人文教育如何促进大学生的心智成熟
- 2025年大学华文教育专业题库- 华文教育专业质量评价体系
- 网约车驾驶员安全驾驶培训
- 办理出国商务代办手续服务合同
- 光电美容培训课件
- 电能质量培训课件
- 中国服饰课件模板
- 子痫及子痫前期病例分析
- 啤酒音乐节活动方案
- 2025至2030年中国智慧场馆行业市场运营态势及投资前景研判报告
- 2025年热塑性硫化橡胶市场前景分析
- 大豆种植订单合同协议书
- 竣工结算审计服务投标方案(技术方案)
评论
0/150
提交评论