小妹不懂这样的代码是怎么实现的,请问这样的JavaScript,是什么特效呢,通栏广告,还是什么,有没有这样源代码的呀,提供下, 谢谢大家了
什么东西?那个半透明的内容?用alpha滤镜+fixed定位
<style>
#fixedBG,#fixedBot{position:fixed;height:150px;bottom:0;left:0;width:100%;}
#fixedBG{filter:alpha(opacity=20);opacity:.2;background:#000;}
#fixedBot{z-index:10;text-align:center}
</style>
<div id="fixedBG"></div>
<div id="fixedBot">不透明的内<img src="http://avatar.csdn.net/2/3/F/2_doudingbang.jpg" /></div>
<div style="height:2000px">aaa
bb</div>
我觉得是一个类是弹出框的样式, 代码还没有,可以自己写下,参考搜索 “css遮挡层”;然就是一个绝对定位,背景透明,颜色浅黑色,里面内容自己定咯