所属分类:杂项
jquery模仿win8风格悬浮右侧多功能在线客服代码
54553 浏览
475 收藏
8 留言
插件描述
jquery模仿win8风格悬浮右侧多功能在线客服代码
详细内容
使用方法由 ChasonMa 提供
引入样式 style.css:
<link rel="stylesheet" href="css/style.css" type="text/css" />
引入 jquery文件:
<script src="js/jquery-2.0.3.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".side ul li").hover(function(){
$(this).find(".sidebox").stop().animate({"width":"124px"},200).css({"opacity":"1","filter":"Alpha(opacity=100)","background":"#ae1c1c"})
},function(){
$(this).find(".sidebox").stop().animate({"width":"54px"},200).css({"opacity":"0.8","filter":"Alpha(opacity=80)","background":"#000"})
});
});
//回到顶部
function goTop(){
$('html,body').animate({'scrollTop':0},600);
}
</script>
关键词:在线客服,win8风格,jquery,jquery插件
讨论这个项目 (8)
当前页面为只读展示,仅显示已审核留言;提交留言功能暂未开放。
很好用。简单 易学 值得推荐
挺好用的
为何浮窗前头有小黑点