$(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. JFinal笔记

    目录 JFinalConfig 1. configConstant() 2. configRoute() 3. configEngine 4. configPlugin 5. configInterc ...

  2. 如何系统地学习Excel?

    人在江湖,生不由己.人在职场,Excel必备. 为了帮助更多人快速掌握职场必备技能Excel,我写了一个免费的教程<职场Excel>,能帮助你解决99%职场中遇到的问题. 对,你没看错,是 ...

  3. dp 数字三角形

    冻龟之前 先看地龟 // // Created by snnnow on 2020/7/23 // //递归算法,除了慢其实还好 #include<iostream> #include&l ...

  4. LQB20180航班时间(sscanf)

    首先找找规律,两者相加除以二. 按格式读入sscanf 按格式输出printf("02d%",m);前导0 #include <iostream> #include & ...

  5. MacOS入门

    原文池建强的blog 对普通用户来说,用好Mac主要有三点: 1.理解OSX的基本结构和特点 2.掌握多手势和快捷键(少量即可,多多益善) 3.用好工具 一.理解OSX的基本结构和特点 Mac OS ...

  6. PHP move_uploaded_file() 函数

    定义和用法 move_uploaded_file() 函数把上传的文件移动到新位置. 如果成功该函数返回 TRUE,如果失败则返回 FALSE. 语法 move_uploaded_file(file, ...

  7. PHP dechex() 函数

    实例 把十进制转换为十六进制: <?phpecho dechex("30") . "<br>";echo dechex("10&qu ...

  8. java中的枚举类enum

    enum SeasonEnum {//枚举类: 本类规定了SeasonEnum(季节)类只能有四个对象SPRING,SUMMER,AUMUTN,WINTER //创建枚举类的的四个对象SPRING,S ...

  9. IdentityServer4 (2) 密码授权(Resource Owner Password)

    写在前面 1.源码(.Net Core 2.2) git地址:https://github.com/yizhaoxian/CoreIdentityServer4Demo.git 2.相关章节 2.1. ...

  10. 解决 SQLException: Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp的问题

    连接数据库时 设置:zeroDateTimeBehavior=convertToNull