Yang lebih menarik lagi tidak hanya iklan yang bisa ditampilin, bahkan foto,video dsb bisa sobat masukan di widget ini. Posisi dari widget pop-up ini tepat ditengah tampilan layar blog sobat.
Widget pop-up ini sangat berguna buat ningkatin traffic blog sobat, karena ini akan menjadi pusat perhatiann, kan letaknya di tengah blog sobat..wkwkwk
Kalian juga bisa memasang teks/pesan penting, iklan, gambar, atau widget fans facebook.
Untuk Cara Membuat Iklan Pop Up atau Melayang di Blog sangatlah mudah caranya..yang perlu Kalian lakukan hanya menambahkan HTML/Javascript di tataletak, dan masukkan kode dibawah ini..!
<style type="text/css">
#topbar{
position:absolute;
padding-left:30%;padding-top:5%;
background-color: transparancy;
width: auto;heigth:auto;
visibility: hidden;
z-index: 100;
}
</style> <script type="text/javascript">
var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 30 //set x offset of bar in pixels
var startY = 5 //set y offset of bar in pixels
var verticalpos="fromtop" //enter "fromtop" or "frombottom"
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function closebar(){
if (persistclose)
document.cookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}
function staticbar(){
barheight=document.getElementById("topbar").offsetHeight
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var d = document;
function ml(id){
var el=d.getElementById(id);
if (!persistclose || persistclose && get_cookie("remainclosed")=="")
el.style.visibility="visible"
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function(){
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : iecompattest().scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("topbar");
stayTopLeft();
}
if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script>
<div class="clear">
</div>
<div id="topbar">
<div style="text-align: right;">
<a href="" onclick="closebar(); return false"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP4syxPquG349xw0Qp7GdiHDC6X-LVe4-aiJ2KbluYsW1x5lXuz9GZeM8cAoM8hqAmhJzWNfoHFO9x6XcMeGFDcylxsxrsi9lNhrASToMpWYjA97jaQ0GOEl_g9TuoUamIoAbkyyd40Iha/s1600/close3.png" alt="close"/></a></div>
<center><div style="background: #fff;">
*** MASUKAN HTML WIDGET/IKLAN/GAMBAR/DSB DISINI***
</div></center></div>
#topbar{
position:absolute;
padding-left:30%;padding-top:5%;
background-color: transparancy;
width: auto;heigth:auto;
visibility: hidden;
z-index: 100;
}
</style> <script type="text/javascript">
var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 30 //set x offset of bar in pixels
var startY = 5 //set y offset of bar in pixels
var verticalpos="fromtop" //enter "fromtop" or "frombottom"
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function closebar(){
if (persistclose)
document.cookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}
function staticbar(){
barheight=document.getElementById("topbar").offsetHeight
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var d = document;
function ml(id){
var el=d.getElementById(id);
if (!persistclose || persistclose && get_cookie("remainclosed")=="")
el.style.visibility="visible"
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function(){
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : iecompattest().scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("topbar");
stayTopLeft();
}
if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script>
<div class="clear">
</div>
<div id="topbar">
<div style="text-align: right;">
<a href="" onclick="closebar(); return false"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP4syxPquG349xw0Qp7GdiHDC6X-LVe4-aiJ2KbluYsW1x5lXuz9GZeM8cAoM8hqAmhJzWNfoHFO9x6XcMeGFDcylxsxrsi9lNhrASToMpWYjA97jaQ0GOEl_g9TuoUamIoAbkyyd40Iha/s1600/close3.png" alt="close"/></a></div>
<center><div style="background: #fff;">
*** MASUKAN HTML WIDGET/IKLAN/GAMBAR/DSB DISINI***
</div></center></div>
Untuk yang berwarna merah silahkan ganti dengan kode iklan yang ingin sobat tampilka..
Ssangat mudah bukan,.
Semoga artikel ini bermanfaat bagi kalian semua..
Selamat mencoba..
hi there i've taken critical mass subbliment just before 5 months nw iam taking 100 % whey pronien gold common i need to consider or nt n my age is eighteen my fat is 52 height five.ten
BalasHapusFeel free to surf to my web blog :: six pack shortcuts vs insane home fat loss
TOKO BELANJA ONLINE BEBAS RESIKO DAN TERPERCAYA DI LUNA SHOP.BURUAN BELANJA DAN DAPATKAN PROMO BANTING HARGA UNTUK SEMUA PRODUK KAMI Dijual.BlackBerry> Nokia> Samsung> Apple> Acer> Dell> Nikon. beminat hub/sms 0857-5740-7634 atau klik website resmi kami di www.lunashop77.blogspot.com
BalasHapusReady Stock! BlackBerry 9380 Orlando Black Rp.900.000,-
Ready Stock! BlackBerry Curve 8520 Gemini Rp.500.000,-
Ready Stoc...k! BlackBerry Bold 9780 Onyx 2 Rp.800.000,-
Ready Stock! Blackberry Curve 9320 Rp.700.000,-
Ready Stock! Samsung Galaxy Tab 2 (7.0) Rp. 1.000.000
Ready Stock! Samsung Galaxy Nexus I9250 Titanium Si.
Rp.1.500.000,-...
Ready Stock! Samsung Galaxy Note N7000 Pink Rp.1.700.000.
Ready Stock!
Samsung Galaxy Y S5360 GSM Pure White Rp.500.000,-
Nokia Lumia 800 MORE PICTURES.
Ready Stock! Nokia Lumia 800 Matt Black Rp.1.700.000,-
Ready Stock! Nokia Lumia-710-white Rp. 900.000,-
Ready Stock! Nokia C2-06 Touch & Type Dual GSMRp.450.000,-
Nokia Lumia 710 T-Mobile MORE PICTURES.
Ready Stock! Nokia Lumia 710 Black Rp. 900.000,- Ready Stock! Apple iPhone 4S 16GB (dari XL) Black Rp.1.200.000,-
Ready Stock! Apple iPhone 4S 16GB (dari Telkomsel) Rp.1.200.000,-
Ready Stock!
Apple iPod Touch 4 Gen 8GB Rp.700.000.
Ready Stock!
APPLE iPod Nano 8GB Pink Rp.500.000,-
Ready Stock! Acer Aspire 4755G Core i5 2430 Linux Blue Rp 1.700.000.
Acer Aspire One AOD270 10.1 Netbook.
Ready Stock! Acer Aspire One AOD270 10.1 Rp. 1.000.000,-
Acer TravelMate TM8481-2462G32 14 Notebook.
Ready Stock! Acer TravelMate TM8481-2462G32 Rp. 1.400.000
Acer ICONIA Tab W500 10.1 Tablets Notebook (with Keyboard Docking).
Ready Stock! Acer ICONIA Tab W500 10.1 Tablets Notebook Rp. 1.100.000,-
Ready Stock!
Nikon D7000 kit 18-105mmRp.1.700.000.
Ready Stock!
Nikon D90 Kit 18-105mm Vr Rp 1.300.000.
Ready Stock!
Nikon Coolpix L 120 Red Rp. 900.000
Ready Stock!
Nikon Coo lpix P 500 Black Rp.1.000.000
Way cool! Some extremely valid points! I appreciate you writing this post and
BalasHapusalso the rest of the website is really good.
my homepage: squirting orgasm mastery marcus london
Work 100% Gan
BalasHapus- Farukparkerla.blogspot.com
thanks mas work widgetnya
BalasHapusmantap gan tutorialnya,. udah ane coba praktekin dan hasilnya sukses,. thanks gan,.
BalasHapusMakasi Gan scriptnya ane tadi nyari digoogle lantas nyasar kemari jadi daripada dibilang silent reader ane ninggalin jejak dulu.....
BalasHapusTerima kasih bung.. sangat bermanfaat...semoga membawa berkah
BalasHapussaya suka gan pop upnya,tk sudah share ilmu agan
BalasHapus