if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat'){ cot_t1_DOCtp="_top:expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.clientHeight);_left:expression(document.documentElement.scrollLeft + document.documentElement.clientWidth - offsetWidth);}"; }else{ cot_t1_DOCtp="_top:expression(document.body.scrollTop+document.body.clientHeight-this.clientHeight);_left:expression(document.body.scrollLeft + document.body.clientWidth - offsetWidth);}"; } var fdcCSS='#wgcss_dingwei {position:fixed;'; var fdcCSS=fdcCSS+'_position:absolute;'; var fdcCSS=fdcCSS+'width:100%;'; var fdcCSS=fdcCSS+'text-align:center;'; var fdcCSS=fdcCSS+'bottom:0px;'; var fdcCSS=fdcCSS+'right:0px;'; var fdcCSS=fdcCSS+'clip:rect(0 100% 100% 0);'; var fdcCSS=fdcCSS+cot_t1_DOCtp; document.write('<style type=\"text\/css\">'+fdcCSS+'<\/style>'); document.write('<div id="wgcss_dingwei"><img src="images/bottom_banner.jpg" /></div>');
bottom_menu.js,用的时候直接引用js文件。
<script src="Script/bottom_menu.js"></script>