爱易网
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 浏览次数:20350 次
以下是程序代码
<!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实现的多屏多图焦点图切换特效代码
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
小米年度发布会遭围剿!多款新品难阻品牌危机
牟贵先挂帅 国美在线“价钱战”昔日开打
亚马逊落户上海自贸区:美国货直邮中国
微软史上最大规模裁员,一半诺基亚员工
三大运营商获通知大减营销费 传3年减400多亿
网曝富士康500万iphone遭退货是确证的事
Google要求硬件厂商捆绑预装应用的协议曝光
阿里入股虎嗅:媒体的脊梁弯了?未必!
迅雷高管解读财报:收购快盘可快速融入小米
推荐阅读
更多>
高通拼抢国际芯片市场 联发科海外拓展难安心
评论:阿里为什么不试着收购一家香港媒体呢
打车软件火了 恶性循环来了
雅安地震 绝不宽恕应用人们爱心的骗子!
微信收费形式三选一 腾讯或变身运营商
中移动财报外的"五座大山":运营商沦为走秀陪衬
iSuppli:上网本将于2015年退出市场
看蜗牛如何放水养鱼,盘活生态系统
北京电信推“0月租卡”,同网通话免费
三星维修新规:Galaxy S4主板进水也收费修
酷派首抓4G时机大丰收,未来份额必降无疑
三星手机在国内陷入困境:华为中兴小米紧追
看,网络文学今日之繁盛;忆,纯真去哪了?
百度对糯米来说到底意味着什么?
微软史上最大规模裁员,一半诺基亚员工
机器人进一步取代人类:将进军白领任务
易迅大众点评缩水执行“七天后悔权”被约谈
任正非:华为决不上市 上市公司股东贪婪而短视
英特尔承认,联想最新K系列智能手机放弃英特尔处理器
工商下月将整治手机市场