Memaparkan catatan dengan label float widget. Papar semua catatan
Memaparkan catatan dengan label float widget. Papar semua catatan

how to make float widget on blog

Today i want to share with you how to make float widget on blog,if you have join ppc program this widget is very good for ppc advertisement campaigns,because this widget will always visible although  visitor scroll to the bottom of blog. its simply simple just 1,2,3 steps.

1. Login to Blogger,click "Layout" button.
2. Then go to "Page Element" and choose "Add a Gadget -find HTML/Javascript"(up to you where you want to ad the gadget)
3.Copy Paste the Script bellow to 'add gadget' box :


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

.gbtab{
height:90px;
width:728px;
float:center;
cursor:pointer;
background:url('') no-repeat;
}
.gbcontent{
float:center;
border:1px solid #A5BD51;
background:#ff6600;
padding:1px;
}
</style>

<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 125-w) : moveGB(125-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">
 

AD YOUR JAVASCRIPT/PPC ADVERTISEMENT HERE

<div style="text-align:right">
<a href="javascript:showHideGB()">
[Close]
<a href="http://advertisement-2u.blogspot.com/2010/12/how-to-make-float-widget-on-blog.html" target="_blank">
[Get Widget]
</a>
</a></div>
</div>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.down = (125-gb.offsetWidth).toString() + "px";
</script></div>

----------------------copy script above-----------------------

You can edit the red color word/script above to make it seem with your blog background/width/height.find color code here fullcolor.
good luck and komen le sikit ye...

Top Posts

Related Posts Plugin for WordPress, Blogger...