爱易网
IT新闻
IT新闻
爱易资讯
网站搭建
云虚拟主机教程
云服务器教程
Apache教程
IIS教程
Nginx教程
网站策划
站长文章
推广教程
淘宝客教程
网页设计
HTML教程
XHTML教程
CSS教程
HTML5教程
CSS3教程
JavaSript基础
JQuery教程
Node.js教程
前端技术
Ajax教程
Js特效
Xml教程
平面设计
页面UI设计
photoshop教程
程序开发
AI人工智能
Asp教程
Php教程
Asp.Net教程
Net Core教程
C#教程
Java教程
Jsp教程
开发技术
微信小程序教程
Uniapp开发教程
微信公众号开发
Andriod教程
IOS教程
DOS教程
Python教程
Docker教程
Windows Container教程
数据库
MSSQL教程
MySQL教程
Redis教程
Access教程
Oracle教程
数据库教程
操作系统
Linux教程
Windows教程
MAC教程
Cisco教程
交换机教程
防火墙教程
搜索
爱易网页
JS特效
精仿Alipay支付宝首页全屏焦点图切换特效代码
精仿Alipay支付宝首页全屏焦点图切换特效代码
日期:2014-05-18 浏览次数:20346 次
以下是程序代码
<!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=utf-8" /> <title>kinMaxShow 扩展效果 demo by js.aiyiweb.com</title> <link type="text/css" href="_doc/base.css" rel="stylesheet" /> <style type="text/css"> body{ margin:0; padding:0;} #Login{ position:relative;} #loginPlane{ position:absolute;width:100%;height:330px; top:0; left:0;z-index:88;} #loginWrap{width:960px;margin:0 auto; padding-top:20px;} #loginBox{width:286px;height:330px;filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#88000000,endcolorstr=#88000000);background:rgba(0,0,0,0.2);float:right; margin-right:20px;} #loginBox h3{ border-bottom:1px solid #ccc; margin:10px; color:#fff; font-weight:normal; font-size:16px; line-height:26px;} #loginBox form{ color:#fff; font-size:12px; padding:8px 0 0 20px} #loginBox .text{padding:4px;border:1px solid;border-color:#aaa #ddd #ddd #aaa; height:20px; width:230px; font-family:Verdana} #loginBox .submit{ color:#fff; border:0; background:#FFA600;width:236px; height:35px; font-weight:bold; font-family:"Microsoft Yahei"; font-size:14px;} #kinMaxShow{ display:none;} #kinMaxShow .sub_1_1{ display:block; position:absolute;left:110px; top:136px;} #kinMaxShow .sub_1_2{ display:block; position:absolute;left:110px; top:120px;} #kinMaxShow .sub_2_1{ display:block; position:absolute;left:-160px; bottom:0px;} #kinMaxShow .sub_2_2{ display:block; position:absolute;left:110px; top:20px;} #kinMaxShow .sub_3_1{ display:block; position:absolute;right:180px; bottom:0px;} #kinMaxShow .sub_3_2{ display:block; position:absolute;left:30px; top:40px;}</style> <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script> <script src="http://www.iruizi.com/kinMaxShow/v1.1/jquery.kinMaxShow-1.1.min.js" type="text/javascript"></script> <script type="text/javascript"> $(function(){ $("#kinMaxShow").kinMaxShow({ height:400, button:{ showIndex:false, normal:{background:'url(http://www.iruizi.com/kinMaxShow/images/demo_extend_images/button.png) no-repeat -14px 0',marginRight:'8px',border:'0',right:'44%',bottom:'20px'}, focus:{background:'url(http://www.iruizi.com/kinMaxShow/images/demo_extend_images/button.png) no-repeat 0 0',border:'0'} }, callback:function(index,action){ switch(index){ case 0 : if(action=='fadeIn'){ $(this).find('.sub_1_1').animate({left:'70px'},600) $(this).find('.sub_1_2').animate({top:'60px'},600) }else{ $(this).find('.sub_1_1').animate({left:'110px'},600) $(this).find('.sub_1_2').animate({top:'120px'},600) }; break; case 1 : if(action=='fadeIn'){ $(this).find('.sub_2_1').animate({left:'-100px'},600) $(this).find('.sub_2_2').animate({top:'60px'},600) }else{ $(this).find('.sub_2_1').animate({left:'-160px'},600) $(this).find('.sub_2_2').animate({top:'20px'},600) }; break; case 2 : if(action=='fadeIn'){ $(this).find('.sub_3_1').animate({right:'350px'},600) $(this).find('.sub_3_2').animat
上一篇:狡猾的按钮特效
下一篇:jquery实现的多屏多图焦点图切换特效代码
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
新浪微博推粉丝头条功能 意欲与大号分成
谷歌安卓全球副总裁为何跳槽中国企业小米?
华为坚持不上市究竟为何?不差钱也不想冒风险
中国邮政与阿里合作:邮政网点可做网购自提点
牟贵先挂帅 国美在线“价钱战”昔日开打
腾讯微信昨晚再现大规模故障 多地受到影响
Kindle入华遭遇国内厂商“围剿 ” 电信也参战
用户喊话当当网:我彻底把你们丢弃了
代工厂生活危机:“富士康们”何去何从?
推荐阅读
更多>
都是300元内 乐视盒子与小米盒子对比体验
HDS发布《2013中国CIO洞察白皮书》
清点:罗永浩推锤子ROM 小米打法遭模拟
苹果6月20日发布iPhone5S 触摸屏概念股生动
国网公司将加快组建 业界人士称困难重重
支付宝27日晚间曝严重破绽:买卖记载可被搜索
苏宁双线同价遇难题:第一个吃螃蟹不轻松
iPhone5S组件曝光 印证杀手级功能存在
谷歌董事长成花花公子:情史足以媲美涂鸦
微软小冰复活再战移动端:改与米聊、易信和触宝合作
快递企业征收“份子钱” 成全了谁 苦了谁?
眼球识别技术EyeVerify融资600万美元 360参投
中国邮政与阿里合作:邮政网点可做网购自提点
创维冲击500亿梦想:转型硬件和内容供应商
电信运营商员工涌入虚拟运营商,待遇差距多大?
百度透露无人驾驶战略 研发三维交通地图
传三星为赢得新兴市场:推廉价版Note3
历史惊人相似:如今的库克 曾经的鲍尔默
微信将商场O2O战火烧到了阿里巴巴老家
如家撤离同程内情:祸起反水OTA“联盟”?