Sign up for PayPal and start accepting credit card payments instantly.

Kamis, 05 April 2012

Cara Membuat Pop Up | Iklan Melayang-Layang| Pendapatan Makin Meningkat ada 3 Jenis Pilihan

Kali Ini Ane Ingin Share Tentang Cara Membuat Iklan Melayang Atau Pop-Up. Yang Ane Beri Ini Ada 3 Jenis Sob. Sobat Tinggal Pilih Ja Yang Mana Sobat Suka...

Caranya :
  • Login ke Blogger
  • kLik Tata Letak => Klik elemen Tambah Gadget
  • Pilih Gadget yang bertemakan HTML/Java Script
  • Isikan Kode berikut di dalamnya


Jenis Pertama (Kode HTML)

<a onblur="try {parent.
deselectBloggerImageGracefully();} catch(e) {}" href="http://podosugih-pekalongan.blogspot.com/2011/12/cara-membuat-pop-up-iklan-melayang.html"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="http://podosugih-pekalongan.blogspot.com/2011/12/cara-membuat-pop-up-iklan-melayang.html" alt="" id="BLOGGER_PHOTO_ID_5433478876639914642" border="0" /></a>


<style type="text/css">
#gb{
position:fixed;
top:10px;
z-index:+1000;
}
* html #gb{position:relative;}


.gbcontent{
float:right;
border:2px solid #A5BD51;
background:#ffffff;
padding:10px;
}
</style>

<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 30-w) : moveGB(20-w, 0);
gb.opened = !gb.opened;
}
function moveGB(x0, xf){
var gb = document.getElementById("gb");
var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
gb.style.top = x.toString() + "px";
if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}
}
</script>

<div id="gb">

<div class="gbtab" onclick="showHideGB()"> </div>

<div class="gbcontent">

<div style="text-align:right">
<a href="javascript:showHideGB()">
.:[Close][Klik 2x]:.
</a>
</div>
<center>
Masukan Script Iklan Atau Gambar Sobat Disini

</center>

<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.center = (30-gb.offsetWidth).toString() + "px";
</script></div></div>

Jenis Kedua (Kode HTML)

<style type="text/css">
    #gb{
    position:fixed;
    top:10px;
    z-index:+1000;
    }
    * html #gb{position:relative;}
    .gbcontent{
    float:right;
    border:2px solid #000000;
    background:#F1DEDE;
    padding:10px;
    }
    </style>
    <script type="text/javascript">
    function showHideGB(){
    var gb = document.getElementById("gb");
    var w = gb.offsetWidth;
    gb.opened ? moveGB(0, 30-w) : moveGB(20-w, 0);
    gb.opened = !gb.opened;
    }
    function moveGB(x0, xf){
    var gb = document.getElementById("gb");
    var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
    var dir = xf>x0 ? 1 : -1;
    var x = x0 + dx * dir;
    gb.style.top = x.toString() + "px";
    if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}
    }
    </script>
    <div id="gb">
    <div class="gbtab" onclick="showHideGB()"> </div>
    <div class="gbcontent">
    <div style="text-align:right">
    <a href="javascript:showHideGB()">
    .<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWu1nOuOcBYlrWcWdzQW6-J3LFM1Tf3uVbK3rMnmS8-K7wT0I3sLhOZB_9ZnMl0msnCZkMdgIHWLoEC-KML6dbOGrTTmkbJkv8pG0sCL6OZmVb2pfRio1GW9wdorJn_97d-igdIEx9iV0/s1600/podosugih-pekalongan.png" title="kalau muncul, klik lagi" alt="tutup" />:.
    </a>
    </div>
    <center>
    Letakkan Script Iklan Sobat Disini
    </center>
    <script type="text/javascript">
    var gb = document.getElementById("gb");
    gb.style.center = (30-gb.offsetWidth).toString() + "px";
    </script></div></div>

Jenis Ketiga (Kode HTML)

<style type="text/css">
#topbar{
position:absolute;
visibility: hidden;
width: 500px;
z-index: 100;
padding:5px;
background-color: #000000;
border: 1px solid #A5BD51;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
margin:0 auto 10px;
float:left;
color: #FFFFFF;
text-align: justify;
font-size: 14px;
font-family: Verdana, serif;
}
</style>

<script src="http://im-fact.com/files/js_pop_up.js" type="text/javascript"></script>
<script type="text/javascript">
var persistclose=0
var startX = 240
var startY = 100
var verticalpos="fromtop"
</script>

<div id="topbar">
<div align="right"><a href="" onclick="closebar(); return false">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWu1nOuOcBYlrWcWdzQW6-J3LFM1Tf3uVbK3rMnmS8-K7wT0I3sLhOZB_9ZnMl0msnCZkMdgIHWLoEC-KML6dbOGrTTmkbJkv8pG0sCL6OZmVb2pfRio1GW9wdorJn_97d-igdIEx9iV0/s1600/podosugih-pekalongan.png" /></a></div>

Letakkan Script Iklan Sobat Disini

<div align="center"><font color="#FFFFFF">
..::: Mau Pasang Window Seperti
<a href="http://podosugih-pekalongan.blogspot.com/2011/12/cara-membuat-pop-up-iklan-melayang.html">
<strong>Ini ?</strong></a> :::..
</font></div><br /></div></div>

Sobat Tinggal Pilih Kode HTML yang Sobat Suka.....

0 komentar:

Posting Komentar