JQUERY实现网页右下角固定位置展开关闭特效的方法

前端之家收集整理的这篇文章主要介绍了JQUERY实现网页右下角固定位置展开关闭特效的方法前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

本文实例讲述了JQUERY实现网页右下角固定位置展开关闭特效的方法分享给大家供大家参考。具体如下:@H_301_1@

HTML代码:@H_301_1@

css代码:@H_301_1@

Box{ width:100px; height:auto; border:1px solid #CCCCCC; POSITION:fixed;_position:absolute; _margin-top:expression(document.documentElement.clientHeight-this.style.pixelHeight+document.documentElement.scrollTop); z-index:99; right:0px; bottom:25px; background-color:#FFFFFF; -webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;} .tag{ width:80px; height:auto; padding:5px 10px;} .tag span{ width:80px; height:30px; display:block; line-height:30px; color:#006600; font-size:12px;} .tag li{ width:80px; height:24px; line-height:24px; font-size:12px; overflow:hidden;} .tag li a{ color:#336699;} .tag li a:hover{ text-decoration:underline; color: #FF0000;} .guanbi{width:100px; height:26px; background-color: #F0F0F0; line-height:26px; font-size:12px; text-align:center; -webkit-border-radius:0px 0px 5px 5px;-moz-border-radius:0px 0px 5px 5px;border-radius:0px 0px 5px 5px;} .guanbi a{ color:#666666; text-decoration:none;} .zhangkai{ width:20px; height:auto; padding:10px 5px; line-height:20px; font-size:14px; text-align:center;-webkit-border-radius:5px 0px 0px 5px;-moz-border-radius:5px 0px 0px 5px;border-radius:5px 0px 0px 5px; border:1px solid #CCCCCC; POSITION:fixed;_position:absolute; _margin-top:expression(document.documentElement.clientHeight-this.style.pixelHeight+document.documentElement.scrollTop); z-index:100; right:0px; bottom:50px; background-color:#FFFFFF; display:none;} .zhangkai a{color:#006600; text-decoration:none;} .xx{ height:1000px;}

js代码:@H_301_1@

希望本文所述对大家的jquery程序设计有所帮助。@H_301_1@ 原文链接:https://www.f2er.com/jquery/53265.html

猜你在找的jQuery相关文章