$(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. 【Go语言学习】匿名函数与闭包

    前言 入坑 Go 语言已经大半年了,却没有写过一篇像样的技术文章,每次写一半就搁笔,然后就烂尾了. 几经思考,痛定思痛,决定金盆洗手,重新做人,哦不,重新开始写技术博文. 这段时间在研究Go语言闭包的 ...

  2. Python环境那点儿事(MAC篇)

    Python环境那点儿事(MAC篇) 解释器版本选择:(Python是解释型语言,相应的选择的就是解释器) 前言: 不管你是什么原因翻看此篇文章,强行安利一篇< 2018 Python官方年度报 ...

  3. ES Reindex用java来实现

    简单的: 核心代码 //发送请求 ReindexRequestBuilder builder=ReindexAction.INSTANCE.newRequestBuilder(client).sour ...

  4. Nodejs同步和异步编程

    同步API:只有当前API执行完成后,才能继续执行下一个API:异步API:当前API的执行不会阻塞后续代码的执行. 同步异步代码执行顺序 同步:从上到下依次执行,前面代码会阻塞后面代码的执行.异步: ...

  5. Python大礼包-安装视频+pycharm编译器|Mac版本+64位+32位版本pycharm安装包+python安装|内附网盘链接带提取码

    pycharm安装包+环境安装打包带走,附带视频教程与pdf教程. (下载链接在本文最下方) 多的不说,直接上图: Python大礼包-安装视频+pycharm编译器详细文件: 点击此处进入下载地址 ...

  6. 线程_互斥锁_Lock及fork创建子进程

    """ 创建锁 mutex = threading.Lock() 锁定 mutex.acquire([blocking]) 当blocking为True时,当前线程会阻塞 ...

  7. PHP strip_whitespace() 函数

    实例 返回已删除 PHP 注释以及空白字符的 "test.php" 文件的源代码: <?php// PHP comment /** Another PHP comment*/ ...

  8. git push到远程仓库

    (此处我以码云为例) 常用命令: 添加远程仓库:git remote add origin 仓库地址 (origin只是一个名字,对远程仓库的一个名字,习惯上用origin) 从仓库拉取内容:git ...

  9. Python高手是怎样炼成的!

    很多想从事python行业的朋友都会问到,零基础如何自学成为Python高手?根据小北多年教育的经验,我总结了几个小建议,想看干货的请看下文! 如何克服入门难问题? 其实小北觉得,最好的方法就是和一群 ...

  10. “随手记”开发记录day20

    练习软件的展示,尽量将软件全方面的展示给大众,希望不要像上次一样有许多遗漏的地方,让其他团队以为我们的软件没有完善的功能.