Cara membuat iklan melayang di blog cukup mudah dan tidak ribet lagii. tinggal copas saja kode program di bawah ini :
<style>
#topbar {
height:30px;
width:auto;
background: #005094 url('http://lh3.ggpht.com/_beEpWOXwLJE/TIb57Lu4fwI/AAAAAAAABE0/q7niFVRbyNE/top-toolbar.jpg');
background-repeat:repeat-x;
text-align:left;
padding-top:4px;
}
#adsground {
height:auto;
margin:0 auto;
width: 850px;
background:#fff;
border-bottom:2px #005094 solid;
border-right:2px #005094 solid;
border-left:2px #005094 solid;
text-align:Center;
padding:4px;
}
#headlineatas {
opacity:1.0;
height:auto;
width:auto;
position:fixed;
top:65px;
left:170px;
border-bottom:1px #005094 solid;
border-bottom:0px blue solid;
color:#333;
padding:0px;
z-index:1001;
font-size:13px;}
</style>
<script type="text/javascript">
function getValue()
{
document.getElementById("headlineatas").style.display = 'none';
}
</script>
<div id="headlineatas">
<div id="topbar">
<img align="left" style="padding-left:2px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd2ShUWXnlEPngCJB3byiy4iQTw2bWjCzH_Kk2-qQdHRcWlRysqXnhOoPNKUCH6jjlrHNbpkDh1fQBuWO8Nvz8VByKnRaDl5jDAj57SzalrqqFB_QTwZS0AZCZxGhmPkMUMBNgd4SzaGOL/s1600/rita+teguh+aza.jpg" />
<span style="color:#fff;font-size:13px;font-weight:bold;text-shadow:black 0.1em 0.1em 0.1em">Space Ads Klik Iklan 1 X untuk Menambah Penghasilan Anda</span>
<span style="color:#fff;font-size:13px;font-weight:bold;text-shadow:black 0.1em 0.1em 0.1em;float:right;padding-top:3px;padding-right:10px"><a href="http://www.almantera.com/kata-kata-indah-dengan-berpuisi-cinta.html" target="_blank" onclick="getValue()">close</a></span>
</div>
<div id="adsground">
<h3></h3>
<p align="left"><h3></h3></p>
<p>
<!-- Begin: http://adsensecamp.com/ -->
<script src="http://adsensecamp.com/show/?id=Fq25XmQHGhk%3D&cid=rDRAQca6lYU%3D&chan=pwMa01El5cI%3D&type=1&title=3D81EE&text=000000&background=CAF99B&border=000000&url=2BA94F" type="text/javascript">
</script>
<!-- End: http://adsensecamp.com/ -->
<br/></p></div></div>
Sumber : http://blog-arul.blogspot.com/2011/12/membuat-iklan-pop-up-melayang.html#ixzz1nx7VI6xN
Ganti kode yang berwarna merah dengan koding iklan anda.
Terima kasih
Label: Iklan Melayang di blog
Membuat Iklan Melayang di Blog
2012-05-08T08:46:00-07:00
Rytha Teguh Aza
Iklan Melayang di blog|