100字范文,内容丰富有趣,生活中的好帮手!
100字范文 > jQuery实现的网页右下角tab样式客服效果代码【jquery】

jQuery实现的网页右下角tab样式客服效果代码【jquery】

时间:2022-05-28 10:55:14

相关推荐

jQuery实现的网页右下角tab样式客服效果代码【jquery】

web前端|js教程

jQuery,网页右下角,tab样式,在线客服

web前端-js教程

轻量商城系统素材分享平台源码,Ubuntu怎么输入汉子,小爬虫腿多,php凭证号,山西seo骗子lzw

这是一款网页右下角tab样式的在线客服代码,若在火狐或chrome浏览器下,客服是带边框阴影的,IE8下好像没边框效果,整体不如在Chrome、火狐、Opera浏览器下。这款在线客服代码的底部使用了TAB选项卡的样式,鼠标点击可切换客服的内容,还是挺新颖的。

jsp发布系统源码,vscode怎样查看反汇编,ubuntu 17 上网,tomcat配置服务启动,爬虫变蝴蝶,php 删除最后字符串,怎样进行seo推广网销,驾校客服缴费源码网站,儿童flash模板下载百度云lzw

运行效果截图如下:

易语言webqq登录源码,vscode无法mingw,gpt硬盘如何安装ubuntu,tomcat握手失败,sqlite字段命名规则,前端拖拽插件,ssm框架前端css无效,微信爬虫封号,php 修改数组的值,网站换空间 seo,电影网站建站程序,网页 抖动,移动下载电影网站模板下载,workpress 页面 中文 找不到页面,连锁药房管理系统 源码,安卓仓库管理app源程序lzw

在线演示地址如下:

/js//jquery-right-buttom-tab-style-online-demo/

具体代码如下:

网页右下角tab样式的在线客服代码.contact-bar{position: fixed;bottom: 0;right: 0;width: 400px;overflow: hidden;z-index: 9999}.contact-bar .cb-btn{float: left;position: relative;height: 38px;font-size: 12px;line-height: 40px;text-transform: uppercase;border: 1px solid #000;border-left: none;color: #FFF;background-color: #292929;background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(41,41,41)), to(rgb(0,0,0)));background-image: -webkit-linear-gradient(top, rgb(41,41,41), rgb(0,0,0));background-image: -moz-linear-gradient(top, rgb(41,41,41), rgb(0,0,0));background-image: -o-linear-gradient(top, rgb(41,41,41), rgb(0,0,0));background-image: -ms-linear-gradient(top, rgb(41,41,41), rgb(0,0,0));background-image: linear-gradient(top, rgb(41,41,41), rgb(0,0,0));filter: progid: DXImageTransform.Microsoft.gradient(GradientType=0, StartColorStr=#292929, EndColorStr=#000000);-moz-box-shadow: inset 1px 0 0 #343534, inset 0 1px 0 #343534;-webkit-box-shadow: inset 1px 0 0 #343534, inset 0 1px 0 #343534;box-shadow: inset 1px 0 0 #343534, inset 0 1px 0 #343534}.contact-bar .cb-btn: hover, .contact-bar .cb-btn-hover{background-color: #4e4e4e;background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(78,78,78)), to(rgb(39,39,39)));background-image: -webkit-linear-gradient(top, rgb(78,78,78), rgb(39,39,39));background-image: -moz-linear-gradient(top, rgb(78,78,78), rgb(39,39,39));background-image: -o-linear-gradient(top, rgb(78,78,78), rgb(39,39,39));background-image: -ms-linear-gradient(top, rgb(78,78,78), rgb(39,39,39));background-image: linear-gradient(top, rgb(78,78,78), rgb(39,39,39));filter: progid: DXImageTransform.Microsoft.gradient(GradientType=0, StartColorStr=#4e4e4e, EndColorStr=#272727);-moz-box-shadow: inset 1px 0 0 #5a5b5a, inset 0 1px 0 #5a5b5a;-webkit-box-shadow: inset 1px 0 0 #5a5b5a, inset 0 1px 0 #5a5b5a;box-shadow: inset 1px 0 0 #5a5b5a, inset 0 1px 0 #5a5b5a;cursor: pointer}.contact-bar .cb-btn-selected, .contact-bar .cb-btn-selected: hover, .contact-bar .cb-btn-selected.cb-btn-hover{background-image: none;background-color: #232423;-moz-box-shadow: inset 0 5px 20px black;-webkit-box-shadow: inset 0 5px 20px black;box-shadow: inset 0 5px 20px black}.contact-bar .cb-btn.cb-chat, .contact-bar .cb-btn.cb-phone{width: 178px}.contact-bar .cb-btn.cb-chat{border-left: 1px solid #000}.contact-bar .cb-btn-selected.cb-chat{-webkit-border-radius: 0;-moz-border-radius: 0;border-radius: 0}.contact-bar .cb-chat .cb-btn-text{background: url(images/cb-icon-livechat.jpg) no-repeat 12px 14px}.contact-bar .cb-phone .cb-btn-text{background: url(images/cb-icon-phone.jpg) no-repeat 14px 11px}.contact-bar .cb-btn-text{float: left;height: 38px;padding-left: 40px;font-weight: bold}.contact-bar .cb-kb, .cb-twitter, .cb-facebook{width: 40px;text-indent: -3000em}.contact-bar .cb-kb span, .contact-bar .cb-twitter span, .contact-bar .cb-facebook span{float: left;width: 100%}.contact-bar .cb-kb span{background: url(images/cb-icon-kb.jpg) no-repeat center center}.contact-bar .cb-twitter span{background: url(images/cb-icon-twitter.jpg) no-repeat center center}.contact-bar .cb-facebook span{background: url(images/cb-icon-facebook.jpg) no-repeat center center}.cb-status{position: absolute;right: 0;width: 10px;height: 10px;margin: 15px 10px 16px 0}.cb-online{background: url(images/cb-status-online.jpg) no-repeat center center}.cb-offline{background: url(images/cb-status-offline.jpg) no-repeat center center}.cb-popup{z-index: 9998;position: fixed;bottom: 0;right: 0;width: 400px;padding-bottom: 40px;background-color: #FFF;-webkit-border-top-left-radius: 5px;-moz-border-radius-topleft: 5px;border-top-left-radius: 5px;-moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.36);-webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.36);box-shadow: 0 1px 10px rgba(0, 0, 0, 0.36)}.cb-popup-toolbar{width: 380px;line-height: 10px;padding: 5px 10px}.cb-popup-close{padding: 5px;font-size: 18px;font-weight: bold;position: absolute;right: 0;top: 0}.cb-popup-close: hover{cursor: pointer}.cb-popup-inner{padding: 50px 0;width: 400px;text-align: center}.cb-popup.chat-invitation{background-color: transparent;height: 168px}.cb-popup.call-us{height: 168px}.cb-popup.chat-invitation .cb-popup-close{color: #FFF;text-shadow: 0 1px 1px rgba(0, 0, 0, 0.9);z-index: 99999}.cb-popup #eye-catcher{float: left;margin-top: -10px}.cb-popup #eye-catcher a{background: url(images/livechat.jpg) no-repeat;height: 170px;width: 400px;display: block;text-indent: -999em}.cb-popup p{color: #999}.cb-popup .cb-btn{text-align: center;border: 1px solid #043b8f;color: #FFF;line-height: 20px;font-weight: bold;text-decoration: none;background-color: #49bae3;background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(73,186,227)), to(rgb(42,73,180)));background-image: -webkit-linear-gradient(top, rgb(73,186,227), rgb(42,73,180));background-image: -moz-linear-gradient(top, rgb(73,186,227), rgb(42,73,180));background-image: -o-linear-gradient(top, rgb(73,186,227), rgb(42,73,180));background-image: -ms-linear-gradient(top, rgb(73,186,227), rgb(42,73,180));background-image: linear-gradient(top, rgb(73,186,227), rgb(42,73,180));filter: progid: DXImageTransform.Microsoft.gradient(GradientType=0, StartColorStr=#49bae3, EndColorStr=#2a49b4);-webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px;-moz-box-shadow: inset 0 1px 2px #25daee;-webkit-box-shadow: inset 0 1px 2px #25daee;box-shadow: inset 0 1px 2px #25daee;text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5)}.cb-btn.cb-btn-first{margin-left: 0}.cb-btn.cb-btn-last{margin-right: 0}.cb-form .cb-btn{width: 100%}.cb-popup .contact-phone{font-size: 30px;font-weight: bold;line-height: 1;margin-bottom: .25em}$(document).ready(function() { $(".cb-popup-close").click(function() { $(".cb-popup").hide(); }); $(".cb-chat").click(function() { $(".call-us").hide(); $(".chat-invitation").toggle(); }); $(".cb-phone").click(function() { $(".chat-invitation").hide(); $(".call-us").toggle(); });});

123456

在线客服

脚本之家

×

123456789

欢迎加入QQ群

×

在线客服

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。