Cara Membuat Widget Sms Gratis Melayang disamping Kiri Blog
Setelah ubek-ubek dari Mbah Google dapet wangsit baru membuat Sms Gratis Model ini :) hehehehe
Langsung saja Sob..Ini dia Scrip Html nya..
================================================================
<span class="fullpost"> </span>
<style type="text/css">
#gb{
position:fixed;
top:50px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbtab{
height:450px;
width:45px;
float:left;
cursor:pointer;
background:url('http://i792.photobucket.com/albums/yy201/elang-antarnusa_99/SMSGRATIS2.gif') no-repeat;
}
.gbcontent{
float:left;
border:1px solid #BDBDBD;
background:#FFFFFF;
width:215px;
padding:10px;
}
</style>
<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 47-w) : moveGB(35-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.right = x.toString() + "px";
if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}
}
</script>
<div id="gb">
<div class="gbtab" onclick="showHideGB()">
</div>
<div class="gbcontent">
<iframe height="350" name="I2" src="http://sms-online.web.id/widget" width="270">&lt;p&gt;not support&amp;amp;lt;br /&amp;amp;gt; &lt;/p&gt;</iframe>
Anda ingin membuat sms gratis seperti ini
Klik di
<a href="http://elang-antarnusa.blogspot.com/2010/06/memasang-script-html-sms-gratis-pada.html">
sini </a>
<div style="text-align: right;">
<a href="javascript:showHideGB()">
[tutup]
</a></div>
</div>
</div>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.right = (45-gb.offsetWidth).toString() + "px";
</script>
<style type="text/css">
#gb{
position:fixed;
top:50px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbtab{
height:450px;
width:45px;
float:left;
cursor:pointer;
background:url('http://i792.photobucket.com/albums/yy201/elang-antarnusa_99/SMSGRATIS2.gif') no-repeat;
}
.gbcontent{
float:left;
border:1px solid #BDBDBD;
background:#FFFFFF;
width:215px;
padding:10px;
}
</style>
<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 47-w) : moveGB(35-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.right = x.toString() + "px";
if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}
}
</script>
<div id="gb">
<div class="gbtab" onclick="showHideGB()">
</div>
<div class="gbcontent">
<iframe height="350" name="I2" src="http://sms-online.web.id/widget" width="270">&lt;p&gt;not support&amp;amp;lt;br /&amp;amp;gt; &lt;/p&gt;</iframe>
Anda ingin membuat sms gratis seperti ini
Klik di
<a href="http://elang-antarnusa.blogspot.com/2010/06/memasang-script-html-sms-gratis-pada.html">
sini </a>
<div style="text-align: right;">
<a href="javascript:showHideGB()">
[tutup]
</a></div>
</div>
</div>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.right = (45-gb.offsetWidth).toString() + "px";
</script>
============================================================
Cara pasang seperti biasa...
Login Blog Sobat..>>..Pilih Tataletak..>>>..tambah widget..>>>..Html / Javascrip..>>masukkkan Kode diatas..Simpan..lalu dilihat hasilnya..
0 comments:
Speak up your mind
Tell us what you're thinking... !