The couplets advertised in this article are fully implemented using CSS and are compatible with all browsers, including various Ie,ff,gg browsers, and the code is simple and easy to use.
The code is as follows:
<!--CSS code-->.couplet_ad/* the bottom fixed */{position:fixed;bottom:auto; top:0; width:120px; height:230px; z-index:99999; margin-top:158px;} HTML. couplet_ad/* IE6 Bottom Fixed */{_position:absolute;_bottom:auto;_top:expression (eval ( DOCUMENT.DOCUMENTELEMENT.SCROLLTOP));}. Couplet_ad a{display:block; cursor:pointer;} #ad_left {left:0px;} #ad_right {right:0px;} <!--HTML code--<!--couplet to the left--<div class= "Couplet_ad" id= "Ad_left" ><a targe t= "_blank" href= "" ></a><a onclick= "Ad_left ();" > Close </a></div><!--couplet ads right--><div class= "Couplet_ad" id= "ad_right" ><a target= "_blank" Href= "" ></a><a onclick= "ad_right ();" > Close </a></div><!--JS Close button code--><script language= "JavaScript" >function Ad_left () { document.getElementById (' Ad_left '). style.display= "None";} function Ad_right () {document.getElementById (' ad_right '). style.display= "None";} </script>
Related recommendations:
Div+css js couplets ads do not follow the screen scrolling solution _html/css_web-itnose
How to modify Discuz X2 's global couplet ads
JavaScript antithetical ads compatible with IE FF