JS侧栏导航

<!DOCTYPE html>
<!-- saved from url=(0044)https://www.moyublog.com/search-0-31602.html -->
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>侧jquery特效代码_侧js特效代码_侧网页模板素材代码下载_落格</title>

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no">

<link href="./侧jquery特效代files/style.css" rel="stylesheet" type="text/css">
<link href="./侧jquery特效代码files/font-awesome.min.css" rel="stylesheet" type="text/css">
<script src="./侧jquery特效代码files/iconfont.js"></script>
</head>
<style>

.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}
.fa-user:before{content:"\f007";}
.fa-arrow-circle-o-up:before{content:"\f01b";}
.fa-external-link:before{content:"\f08e";}
.fa-moon-o:before{content:"\f186";}
.fa-qq:before{content:"\f1d6";}
.fa-weixin:before{content:"\f1d7";}
.fa-diamond:before{content:"\f219";}

*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
div,h6,p,img,i,ul,li{margin:0;padding:0;}
img{border:0;}
a{text-decoration:none;}
a:hover{text-decoration:none;}
h6{font-family:PingFang SC, Verdana, Helvetica Neue, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif;font-size:100%;color:#6b7386;line-height:1.35;}
img{max-width:100%;}
ul,li{list-style-type:none;}
img{border:none;}
i{font-style:normal;font-weight:normal;}
a{color:#613f23;text-decoration:none;-webkit-transition:all ease .25s;-moz-transition:all ease .25s;transition:all ease .25s;}
a:hover{color:#E66B35;}
::selection{background:#ccc8b8;color:#333;text-shadow:none;}
::-webkit-scrollbar{width:12px;height:12px;}
::-webkit-scrollbar-track-piece{background:#F4F4F4;}
.float-box{width:68px;padding:5px;font-size:14px;position:fixed;right:0;top:55%;z-index:9997;margin-top:-303px;_position:absolute;_top:expression(eval(document.documentElement.scrollTop+100));box-sizing:border-box;}
.float-box .float-ul,.float-box .float-ul li{margin:0;padding:0;}
.float-box .float-ul{margin-top:5px;text-align:center;line-height:1.2;list-style:none;background-color:#FFF;box-shadow:0 2px 5px #e6e6e6;}
.float-box .float-radius{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}
.float-box .float-text{color:#ff4a00;}
.float-box .float-border{border-color:#ececec!important;}
.float-box .dbsvipa{color:#fff;}
.float-box .float-ul li a{display:block;width:100%;padding:10px 0;line-height:18px;}
.float-box .float-ul li a{border-radius:5px;}
.float-box .float-ul li a.qq,.float-box .float-ul li a.qun{-moz-border-top-left-radius:4px;-moz-border-top-right-radius:4px;border-top-left-radius:4px;border-top-right-radius:4px;position:relative;}
.float-box .dbsvip{background:linear-gradient(-125deg, #ffab23 0%, #ff0036 100%);color:#fff;margin-bottom:20px;}
.float-box .dbsvip li a:hover{background:linear-gradient(-125deg, #ffab23 0%, #ff0036 100%);color:#fff;margin-bottom:20px;box-shadow:0 8px 10px rgba(255, 0, 12, 0.3);color:white;border-radius:50%;}
.float-box .float-ul .fa{font-size:20px;line-height:20px;}
.float-box .dbsvip .fa{font-size:25px;}
.float-box .float-alert-box{width:180px;height:185px;background-color:#FFF;border:1px solid #ececec;position:absolute;right:58px;top:0;z-index:9998;display:none;box-sizing:border-box;}
.float-box .float-qq-box,.float-box .float-qun-box{padding:20px 15px;}
.float-box .float-qun-box{width:200px;height:210px;}
.float-box .float-weixin-box{background:none;border:0px;width:300px;height:auto;top:10%;}
.float-box .float-ul li .float-qq-box{color:#666;}
.float-box .float-alert-box h6{font-size:20px;color:#ff4a00;font-weight:700;line-height:1.2;margin:0 0 15px;}
.float-box .float-alert-box p{line-height:24px;margin:0 0 15px;}
.float-box .float-qq-btn{padding:10px;background-color:#ff4a00;color:#FFF;cursor:pointer;}
.float-box .dbsvipd{padding:10px;background:linear-gradient(-125deg, #ffab23 0%, #ff0036 100%);color:#FFF;}
.float-box .zzhuti_qd_1{background:linear-gradient(-125deg, #7CCC4C 0%, #6da54b 100%);box-shadow:0 8px 10px rgba(32,160,255,.3);color:#FFF;}
.float-box .zzhuti_qd_1:hover{background:#ffffff;box-shadow:0 8px 10px rgba(32,160,255,.3);color:#6da54b;}
@media (max-width: 768px){
.float-box{display:none;}
}

</style>
<body>


<div class="float-box">
      <ul class="float-ul float-radius float-text dbsvip">
        <li id="loginjs_ce"><a class="qq float-border float-text dbsvipa" href="javascript:void()" οnclick="ajaxlogin();"><i class="fa fa-user"></i><br>登录<div class="float-alert-box float-radius float-qq-box"><h6 style="color: #ff402f;">登录落格</h6><p>您好!<br>小伙伴们!</p><div class="float-qq-btn float-radius dbsvipd" οnclick="ajaxlogin();">注册登录</div></div></a></li>
    </ul>

      <ul class="float-ul float-radius float-text">
      <li>
                  <a class="weixin zzhuti_qd_1" href="https://www.moyublog.com/zt/weixin/" target="_Blank" title="微信联系">
                <i class="fa fa-weixin"></i><br>微信             <div class="float-alert-box float-radius float-weixin-box" style="display: none;"><img alt="墨鱼的微信" class="hover_weixin_img" src="http://zzsx.com/skin/default/images/weixin.jpg"></div></a>
                    </li>
    </ul>

    <ul class="float-ul float-radius float-text">
        <li>
            <a class="qq float-border float-text" href="http://wpa.qq.com/msgrd?v=3&amp;uin=48444431&amp;site=qq&amp;menu=yes" target="_Blank">
                <i class="fa fa-qq"></i><br>客服
                <div class="float-alert-box float-radius float-qq-box" style="display: none;">
                    <h6>工作时间</h6>
                    <p>工作日:9:00 - 22:00<br>节假日:9:00 - 22:00</p>
                    <div class="float-qq-btn float-radius" οnclick="window.open(&#39;http://wpa.qq.com/msgrd?v=3&amp;uin=48444431&amp;site=qq&amp;menu=yes&#39;,&#39;_blank&#39;)">点击咨询客服</div>
                </div>
            </a>
        </li>

        <li>
            <a class="qun float-radius float-text" title="加入QQ群">
                <i class="fa fa-weixin"></i><br>Q群
                <div class="float-alert-box float-radius float-qun-box" style="display: none;">
                    <h6>2000人大群</h6>
                    <p>客户小伙伴专用群</p>
                    <div class="float-qq-btn float-radius" οnclick="window.open(&#39;https://qm.qq.com/cgi-bin/qm/qr?k=qqQHGjg0p6dlAT6CQvPj8A3f7-Oe6LIe&amp;jump_from=webapi&#39;,&#39;_blank&#39;)">落格一群(满)</div><br>
                    <div class="float-qq-btn float-radius" οnclick="window.open(&#39;https://qm.qq.com/cgi-bin/qm/qr?k=VnWGM6EjLBHg3owLo6ebw2ISv2m-3sc6&amp;jump_from=webapi&#39;,&#39;_blank&#39;)">落格二群</div>
                </div>
            </a>
        </li>
    </ul>
    <ul class="float-ul float-radius float-text">
        <li>
            <a class="fankui float-border float-text" href="https://www.moyublog.com/pay.html" target="_Blank" title="站内活动">
                <i class="fa fa-diamond"></i><br>活动
            </a>
        </li>
        <li>
            <a class="fankui float-border float-text" href="https://www.moyublog.com/website/" target="_Blank" title="网址导航">
                <i class="fa fa-external-link"></i><br>网址
            </a>
        </li>
        <li>
            <a class="fankui float-border float-text" href="https://www.moyublog.com/search-0-31602.html#" id="moyublog-dark-switch2" title="落格暗夜模式">
                <i class="fa fa-moon-o"></i><br>色彩
            </a>
        </li>
        <!--<li>
            <a class="fankui float-border float-text" href="https://www.moyublog.com/app/" target="_Blank" title="落格APP">
                <i class="fa fa-android"></i><br>APP
            </a>
        </li>-->
    </ul>
      <ul class="float-ul float-radius float-text">
        <li>
            <a class="float-border float-text" href="javascript:void(0);" id="gotoTop" title="返回顶部" style="display: none;">
                <i class="fa fa-arrow-circle-o-up"></i><br>
            </a>
        </li>
    </ul>

</div>
<script src="http://zzsx.cn/skin/sxcn/js/jquery.min.js"></script>

<script>
$(function(){

$(".qq").hover(function () {
    $(this).children(".float-qq-box").show()
},function() {
    $(this).children(".float-qq-box").hide()
});
$(".weixin").hover(function () {
    $(this).children(".float-weixin-box").show()
},function() {
    $(this).children(".float-weixin-box").hide()
});
$(".qun").hover(function () {
    $(this).children(".float-qun-box").show()
},function() {
    $(this).children(".float-qun-box").hide()
});

})();
</script>


</body></html>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值