




免费预览已结束,剩余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年大学生防诈线上知识达人赛题库100题(含答案)
- 招商银行上海市浦东新区2025秋招笔试综合模拟题库及答案
- 兴业银行深圳市龙岗区2025秋招笔试英文行测高频题含答案
- 农发行唐山市路北区2025秋招笔试综合模拟题库及答案
- 教师公开招聘真题(夺冠)附答案详解
- 平安银行重庆市合川区2025秋招结构化面试经典题及参考答案
- 浦发银行哈尔滨市松北区2025秋招数据分析师笔试题及答案
- 民生银行汕头市龙湖区2025秋招数据分析师笔试题及答案
- 中信银行哈尔滨市香坊区2025秋招英文面试题库及高分回答
- 福建省全国名校联盟2026届高三上学期联合开学摸底考试语文试题及参考答案
- 2025年广工建筑电气试卷及答案
- 2024年广西桂林理工大学南宁分校招聘真题
- 排污许可证管理条例课件
- 乡镇人大主席“干在实处、走在前列”学习讨论发言材料
- 2025年食品安全管理员考试题库及参考答案
- 用户反馈收集及问题分析表
- 无人机飞行操作规范手册
- 【里斯】年轻一代新能源汽车消费洞察与预测 -新物种 新理念 新趋势(2024-2025)
- 医院收费室培训课件
- 信仰思政课件
评论
0/150
提交评论