求类似百度贴吧底部通栏JS代码? 求类似百度贴吧底部通栏代码,如:http://tieba.baidu.com/f?kw=%BF%C9%BF%DA%BF%C9%C0%D6 在底部会随滚动条上下的通栏代码,如果有关闭影藏效果更好,在网上搜没搜到,不知道哪位高手有该JS特效代码,谢谢! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 不知道LZ想说的是什么样的个东西啊...没有看到LZ所说的所谓底部的东西... 这里不知道怎么传截图,我传到百度空间里了,这是图片地址:http://hi.baidu.com/mmxxzzhh/blog/item/926a8bdc6ae9f6cab6fd488d.html一般你打开百度任何一个贴吧等个10来秒钟底部就会出现这个通栏的,我不知道是不是有的浏览器不能显示我想要他的JS代码,呵呵,谢谢 fixed 定位 <!doctype html><html dir="ltr" lang="zh-CN"> <head> <meta charset="utf-8"/> <title>CSS Position Fixed for IE6</title> <style>* html,* html body {background-image:url(about:blank);background-attachment:fixed;}* html .fixed-top {position:absolute;bottom:auto; top:expression(eval(document.documentElement.scrollTop +(document.documentElement.clientHeight-this.offsetHeight)/2 ));}* html .fixed-right {position:absolute;right:0px;left:auto;}* html .fixed-bottom {position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0)));}* html .fixed-left {position:absolute;right:auto;left:expression(eval(document.documentElement.scrollLeft));}.fixed-bottom { position:fixed; left:0px; bottom:20px; background:aqua; width:200px; height:200px;}.fixed-right{ position:fixed; right:0px; left:auto; top:200px; top:expression(eval(document.documentElement.scrollTop +(document.documentElement.clientHeight-this.offsetHeight)/2 )); background:red; width:200px; height:200px;}.fixed-top{ position:fixed; top:0px; left:0px; background:blue; width:200px; height:200px;} </style> </head> <body> <div style='height:2000px;width:500px;margin:10px auto; border:1px solid red;'></div> <div class="fixed-top"></div> <div class="fixed-bottom"></div> <div class="fixed-right"></div> </body></html> JavaScript如何取得html中table的高度 asp.net 超链接如何打开一个新的网页 求助JQUERY写下啦菜单小三角 <新手提问>为什么我写的marquee动不了? 求教这段js写的cookies代码在jsp中如何调用 自己写的jquery dialog插件,为什么移动的时候有卡顿的问题 请教这段代码为什么在showModalDialog中出错?? 怎样用网页JAVASCRIPT调用本地搜索 FLASH 能不能 把参数传递给网页? 怎么实现层的拖动? 关于页面跳转,实在搞不定了哦 Ext tree 单击按钮加载不同的tree,url怎么写
我想要他的JS代码,呵呵,谢谢
<!doctype html>
<html dir="ltr" lang="zh-CN">
<head>
<meta charset="utf-8"/>
<title>CSS Position Fixed for IE6</title>
<style>
* html,* html body {background-image:url(about:blank);background-attachment:fixed;}
* html .fixed-top {position:absolute;bottom:auto; top:expression(eval(document.documentElement.scrollTop +(document.documentElement.clientHeight-this.offsetHeight)/2 ));}
* html .fixed-right {position:absolute;right:0px;left:auto;}
* html .fixed-bottom {position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0)));}
* html .fixed-left {position:absolute;right:auto;left:expression(eval(document.documentElement.scrollLeft));}
.fixed-bottom {
position:fixed;
left:0px;
bottom:20px;
background:aqua;
width:200px;
height:200px;
}
.fixed-right{
position:fixed;
right:0px;
left:auto;
top:200px;
top:expression(eval(document.documentElement.scrollTop +(document.documentElement.clientHeight-this.offsetHeight)/2 ));
background:red;
width:200px;
height:200px;
}
.fixed-top{
position:fixed;
top:0px;
left:0px;
background:blue;
width:200px;
height:200px;
}
</style> </head>
<body>
<div style='height:2000px;width:500px;margin:10px auto; border:1px solid red;'></div>
<div class="fixed-top"></div>
<div class="fixed-bottom"></div>
<div class="fixed-right"></div>
</body>
</html>