最新下载
24小时阅读排行榜
- 1 AI推文助手如何制作数据报告 AI推文助手的数据分析可视化
- 2 mysql数据库有哪些调优方法
- 3 mysql中有几种粒度锁?
- 4 深入理解JavaScript闭包与作用域链
- 5 巧文书AI官方主页直达最新 巧文书AI智能写作生成平台官网链接
- 6 Web Workers多线程编程与性能优化
- 7 Pboot插件用户注册的验证流程_Pboot插件注册表单的字段自定义
- 8 智谱清言官网最新入口地址 智谱清言智能问答主页平台直达链接
- 9 美甲类视频禁用哪些词汇_美甲类抖音内容违禁词与合规表达
- 10 儿童自学Python编程网站列表 适合自主学习的趣味Python编程平台介绍
- 11 VSCode工作区设置和管理
- 12 Go语言中计算big.Int类型数字的设置位(BitCount)
- 13 AO3镜像站点入口发布_AO3正版网址稳定登录教程分享
- 14 JavaScript网络安全与加密技术
- 15 爱应用pc版官网直达官方网址 爱应用pc版平台入口链接直达首页
最新教程
-
- Node.js 教程
- 6780 2025-08-28
-
- CSS3 教程
- 969565 2025-08-27
-
- Rust 教程
- 10765 2025-08-27
-
- Vue 教程
- 12980 2025-08-22
-
- PostgreSQL 教程
- 9937 2025-08-21
-
- Git 教程
- 4952 2025-08-21
基于jquery.1.11.1.min.js制作的简洁jQuery右侧栏客服代码,有微信二维码、QQ、电话显示及返回顶部功能,网页右侧悬浮层,鼠标移动上去有效果。
js代码
<script type="text/javascript">
$(function() {
$("#service a").hover(function() {
if ($(this).prop("className") == "weixin_area") {
$(this).children("img.hides").show();
} else {
$(this).children("div.hides").show();
$(this).children("img.shows").hide();
$(this).children("div.hides").animate({marginRight: '0px'}, '0');
}
}, function() {
if ($(this).prop("className") == "weixin_area") {
$(this).children("img.hides").hide();
} else {
$(this).children("div.hides").animate({marginRight: '-163px'}, 0, function() {
$(this).hide();
$(this).next("img.shows").show();
});
}
});
$("#top_btn").click(function() {
$("html,body").animate({scrollTop: 0}, 600);
});
//右侧导航 - 二维码
$(".weixin_area").hover(function() {
$(this).children(".weixin").show();
},function(){
$(this).children(".weixin").hide();
})
});
</script>


