$(function() {

$("#chanping").mouseenter(function() {

$("#column").slideDown(500, function() {

$("#column").mouseenter(function() {

$("#column").show()

})

});

});

$("#column").mouseleave(function() {

$("#column").slideUp(500);

});

$("#chuanxing").mouseenter(function() {

$("#column2").slideDown(500);

});

$("#column").mouseleave(function() {

$("#column2").slideUp(500);

});

$("#scLeft").hover(function() {

$("#yishang1").animate({

width: "355px",

height: "245px",

})

},

function() {

$("#yishang1").animate({

width: "350px",

height: "240px",

})

});

$("#scCenter").hover(function() {

$("#yishang2").animate({

width: "355px",

height: "245px",

})

},

function() {

$("#yishang2").animate({

width: "350px",

height: "240px",

})

});

$("#scRinght").hover(function() {

$("#yishang3").animate({

width: "355px",

height: "245px",

})

},

function() {

$("#yishang3").animate({

width: "350px",

height: "240px",

})

});

$("#weixin2").hover(function() {

$("#wixin1").show();

$("#winxin3").attr('src', './images/weixin-icon01.png');

},

function() {

$("#wixin1").hide();

$("#winxin3").attr('src', './images/weixin-icon02.png');

})

$("#weibo2").hover(function() {

$("#wibo1").show();

$("#wibo3").attr('src', './images/weibo-icon01.png');

},

function() {

$("#wibo1").hide();

$("#wibo3").attr('src', './images/weibo-icon02.png');

})

$("#in2").hover(function() {

$("#in1").show();

$("#in3").attr('src', './images/yl.png');

},

function() {

$("#in1").hide();

$("#in3").attr('src', './images/yl2.png');

})

$('.a_1').mouseenter(function() {

$('.a_1').animate({

backgroundPositionY: -50,

})

}),

$(".a_1").mouseleave(function() {

$('.a_1').animate({

backgroundPositionY: 0,

})

})

$('.a_2').mouseenter(function() {

$('.a_2').animate({

backgroundPositionY: -190,

})

}),

$(".a_2").mouseleave(function() {

$('.a_2').animate({

backgroundPositionY: -130,

})

})

$('.a_3').mouseenter(function() {

$('.a_3').animate({

backgroundPositionY: -310,

})

}),

$(".a_3").mouseleave(function() {

$('.a_3').animate({

backgroundPositionY: -250,

})

})

$(".xianshi").mouseenter(function() {

$('#column_in1').show()

})

$(".xianshi").mouseleave(function() {

$('#column_in1').hide()

})

$(".chuangan").mouseenter(function() {

$('#column_in2').show()

})

$(".chuangan").mouseleave(function() {

$('#column_in2').hide()

})

$(".jiankang").mouseenter(function() {

$('#column_in3').show()

})

$(".jiankang").mouseleave(function() {

$('#column_in3').hide()

})

$(".fuwu").mouseenter(function() {

$('#column_in4').show()

})

$(".fuwu").mouseleave(function() {

$('#column_in4').hide()

})

});

仿京东BOE官网 jQuery代码的更多相关文章

  1. 仿京东BOE官网 html代码

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...

  2. 仿京东BOE官网 JavaScript代码

    let items = document.getElementsByClassName('item'); let points = document.getElementsByClassName('p ...

  3. 仿京东BOE官网 css代码

    * { margin: 0; padding: 0; border: 0; list-style: none; } .box { width: 1518px; height: 1300px; marg ...

  4. 仿京东BOE官网图片链接

  5. 基于jQuery仿迅雷影音官网幻灯片特效

    分享一款基于jQuery仿迅雷影音官网幻灯片特效迅.雷影音官网jQuery幻灯片特效是一款带左右箭头,索引按钮切换的jQuery幻灯片代码.效果图如下: 在线预览   源码下载 实现的代码. html ...

  6. android 官网处理图片 代码

    /** * 获取压缩后的图片 (官网大图片加载对应代码) * * @param res * @param resId * @param reqWidth * 所需图片压缩尺寸最小宽度 * @param ...

  7. 官网jquery压缩版引用地址:

    3.1.1版本 <!DOCTYPE html> <html lang="en"> <head> <meta charset="U ...

  8. 仿智能社官网:原生JS实现简单又酷炫的3D立方体时钟

    先放一下我做的效果:https://linrunzheng.github.io/3Dclock/3Dclock/new.html 至于3D立方体怎么做这里就不在阐述了,可以看一下我之前的博客. 这里默 ...

  9. Bootstrap--模仿官网写一个页面

    本文参考Bootstrap官方文档写了简单页面来熟悉Bootstrap的栅格系统.常用CSS样.Javascript插件和部分组件. 以下html代码可以直接复制本地运行: BootstrapPage ...

随机推荐

  1. 缓存利器、Lua模块下的共享内存

    上一节讲到了worker进程的共享内存,它利用丰富的指令使数据的缓存操作变得非常简单,但它也存在一些缺点. 1.worker进程之间会有锁竞争,在高并发的情况下会增加性能开销.2.只支持Lua布尔值. ...

  2. PHPSTORM断点调试配置

    一.安装Xdebug xdebug官方提供了一个非常友好的安装指导: https://xdebug.org/wizard.php 打开上面的网站,将你的phpinfo页面输出的内容复制到表单中,然后点 ...

  3. pandas处理excel文件和csv文件

    一.csv文件 csv以纯文本形式存储表格数据 pd.read_csv('文件名'),可添加参数engine='python',encoding='gbk' 一般来说,windows系统的默认编码为g ...

  4. SPRING 阅读--JdkDynamicAopProxy

    一.简介 JdkDynamicAopProxy 代理类是spring 默认的JDK动态的代理类实现.它实现了Java 动态代理接口InvocationHandler接口和Spring定义的AopPro ...

  5. 线程_Process实例

    from multiprocessing import Process import os from time import sleep def run_proc(name,age,**kwargs) ...

  6. PHP timezone_location_get() 函数

    ------------恢复内容开始------------ 实例 返回指定时区的位置信息: <?php$tz=timezone_open("Asia/Taipei");ec ...

  7. PDOStatement::debugDumpParams

    PDOStatement::debugDumpParams — 打印一条 SQL 预处理命令(PHP 5 >= 5.1.0, PECL pdo >= 0.9.0) 说明 语法 bool P ...

  8. 什么是Cookie、Session、Token?

    原文:https://mp.weixin.qq.com/s/pWXhI_ppKhtOP-Xf_SpuDA 来源:后厂村码农 在了解这三个概念之前我们先要了解 HTTP 是无状态的Web服务器,什么是无 ...

  9. python种类

    JPython IronPython CPython JavaScriptPython 等等. 这些python的区别是他们隶属于不同的厂商,而我们所说的python通常是指CPython, 因为不同 ...

  10. python深挖65万人的明星贴吧,探究上万个帖子的秘密

    前言 本文的文字及图片来源于网络,仅供学习.交流使用,不具有任何商业用途,版权归原作者所有,如有问题请及时联系我们以作处理. 最近一直在关注百度明星吧,发现很多有趣的帖子,于是我就想用python把这 ...