Sider Ad Banner Using Script
<script language="javascript"> function AdClose() { var div = document.getElementById("AdCloseDiv"); if (div.style.display == "block") { div.style.display = "none"; } else { div.style.display = "block"; } } </script> <div style="left: 0px; position: fixed; top: 0px;"> <div id="AdCloseDiv"><div style=" border: 0px solid blue; height: 650px; position: relative; width: 120px; color:#0000FF; "> <a href="javascript:AdClose();" > <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5dXZlQ9hszW65Yl86Zwlx_aDhEmRS6mR4xKNxqWs7cxs4ZjL4T-Y-yxar0SEj3yXJwxEiUkPxwvD8gJHntMC2_YFa4v4zaAE3DHIT7PjNE6mPCnirniSVFl5nd4idDKUb24Lq9JStCLVg/s1600/fancy_close.png" style=" margin-right: -10px;margin-top: -10px;position: absolute;right: 0;top: 0;" border="0" /></a> <div style="background-color: black; width:115px;height:14px;border:1px solid black;"> <center> <font color="white"> Advertisement </font> </center> </div> <div style="background-color: white; width:120px;height:3px;border:1px solid white;"> </div> <div style=" border: 1px solid blue; height: 600px; position: relative; width: 120px;"> YOUR AD CODE HERE </div> </div> </div> </div>
Sider Ad Banner Using Span
<div style="right: 0px; position: fixed; top: 0px;"> <span id="spoiler_id" style="display: block"> <a onclick="document.getElementById('spoiler_id').style.display='none'; document.getElementById('show_id').style.display='';" class="link"> <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5dXZlQ9hszW65Yl86Zwlx_aDhEmRS6mR4xKNxqWs7cxs4ZjL4T-Y-yxar0SEj3yXJwxEiUkPxwvD8gJHntMC2_YFa4v4zaAE3DHIT7PjNE6mPCnirniSVFl5nd4idDKUb24Lq9JStCLVg/s1600/fancy_close.png" style=" margin-right: -10px;margin-top: -10px;position: absolute;right: 0;top: 0;" border="0" /> </a> <div style="background-color: black; width:115px;height:14px;border:1px solid black;"> <center> <font color="white"> Advertisement </font> </center> </div> <div style="background-color: white; width:120px;height:3px;border:1px solid white;"> </div> <div style=" border: 1px solid blue; height: 600px; position: relative; width: 120px;"> YOUR AD CODE HERE </div> </span> </div>