一个通用的JS底部弹出框示例
<!--底部视窗广告-->
<style>* html div#im_popupWindow_miniMsg {
position: absolute;
bottom: auto;
right:0px;
top: expression( ( 0 - im_popupWindow_miniMsg.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}
.im_popupWindow{ position: fixed;bottom: 0px;right: 0px;width:240px;float:left;-moz-user-select:none;overflow:hidden; z-index:255535;}
</style>
<div id="_popup_msg_container">
<div class="im_popupWindow" id="im_popupWindow_miniMsg" wistate="max" style="display: block; height:230px;">
<a href="http://meili.irscreen.com"><img src="" style="height:230px;width:240px;"/></a>
</div>
</div>
<!--底部视窗广告-->
只需要替换里边的图片地址即可:具体参照网站: 爱美丽