最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

jquery固定底網(wǎng)站底部菜單效果

 更新時(shí)間:2013年08月13日 16:06:14   作者:  
本文章來(lái)給大家介紹一款固定底網(wǎng)站底部菜單效果,這里是基于jquery的,大家下載之后把jquery加入即可實(shí)現(xiàn)效果了,并且兼容性強(qiáng)。
復(fù)制代碼 代碼如下:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>固定底(頂)部菜單</title>
<script type="text/javascript" src="../js_date/js/jquery.js"></script>
<style>
body {padding:0; margin:0; font-size:12px; font-family:Arial; word-break:break-all; word-wrap:break-word; }
.bnav { text-align:left; height:25px; overflow:hidden; width:98%; line-height:25px; background:#fff; margin:0 1%; border:#B4B4B4 1px solid; border-bottom:none; z-index:999; position:fixed; bottom:0; left:0; _position:absolute;/* for IE6 */ _top: expression(documentElement.scrollTop + documentElement.clientHeight-this.offsetHeight); /* for IE6 */
overflow:visible; }
.close { position:absolute; right:5px; height:25px; width:16px; text-indent:-9999px; padding-left:10px; }
.close a { background:url(../js_date/images/20110603/close.gif) no-repeat center; width:16px; display:block; }
.bnav2 { height:24px; line-height:24px; margin:1px; margin-bottom:0; background:#E5E5E5; }
.bnav3 { height:25px; width:16px; line-height:25px; margin:0 1%; padding-right:6px; border-bottom:none; z-index:999; position:fixed; bottom:0; right:0; _position:absolute;/* for IE6 */ _top: expression(documentElement.scrollTop + documentElement.clientHeight-this.offsetHeight); /* for IE6 */
overflow:visible; }
.bnav3 a { background:url(../js_date/images/20110603/open.gif) no-repeat center; display:block; height:25px; width:16px; text-indent:-5000px; }
</style>
</head>
<body>
<script type="text/javascript">
var closeBN = $.cookie("bnav");
if (closeBN == "0"){closeNav();}
function showNav(){
$(".openClose").toggle();
$.cookie("bnav", "1", {expires: 1});
}
function closeNav(){
$(".openClose").toggle();
$.cookie("bnav", "0", {expires: 1});
}
</script>
<div class="bnav openClose">
<div class="bnav2"><span class="close"><a href="javascript:void(0)" onclick="closeNav()" title="關(guān)閉">關(guān)閉</a></span> 信息顯示信息顯示信息顯示信息顯示信息顯示信息顯示信息顯示信息顯示信息顯示信息顯示信息顯示信息顯示信息顯示</div>
</div>
<div class="bnav3 openClose" style="display:none;"><a href="javascript:void(0)" onclick="showNav()" title="打開">打開</a></div>
</body>
</html></td>
   </tr>
 </table>

相關(guān)文章

最新評(píng)論

准格尔旗| 清涧县| 灵丘县| 康乐县| 文成县| 奉贤区| 翼城县| 江城| 正定县| 秀山| 临夏县| 防城港市| 名山县| 淮滨县| 泽州县| 扶绥县| 平阳县| 贵定县| 饶河县| 资兴市| 斗六市| 唐河县| 迁安市| 海宁市| 德兴市| 庆城县| 襄垣县| 铜山县| 武宁县| 凤凰县| 冷水江市| 巫山县| 广汉市| 象州县| 潍坊市| 华安县| 高安市| 娄底市| 铁岭县| 南充市| 双鸭山市|