Hallowen Menu


Home
Advertise
Tumblr
Tweet
Facebook

Lagi tergila-gila sama harry porter jadi tergila-gila sama icon hallowen, iseng bikin link menu akhirnya jadi deh. Kalau kalian mau menu hallowen di atas silakan copas aja code berikut ke Java script/HTML milik blog kamu.
<style type="text/css">#gb{
position:fixed;
top:50px;
z-index:+1000;
}
* html #gb{position:relative;}

.gbtab{
height:100px;
width:30px;
float:left;
cursor:pointer;
background:url('http://2.bp.blogspot.com/_yQJt2cKxkbE/TEB7KughIpI/AAAAAAAAApg/oipPM1--Zp4/s1600/blue-right.png') no-repeat;
}
.gbcontent{
float:left;
border:2px solid #666666;
background:transparent;
padding:20px;
}
</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.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">

<div style="background: transparent; text-align: left;">
<div style="text-align: justify;">
<br />
<a href="http://pintartidakpintar.blogspot.com/"><img src="http://haryzepti.fileave.com/Black%20Cat_32x32.png" /></a><a href="http://pintartidakpintar.blogspot.com/">Home</a><br />
<a href="http://iklangartis2011.blogspot.com/"><img src="http://haryzepti.fileave.com/Full%20Moon_32x32.png" /></a><a href="http://iklangratis2011.blogspot.com/">Advertise</a><br />
<a href="http://haryzepti.tumblr.com/"><img src="http://haryzepti.fileave.com/Skull_32x32.png" /></a><a href="http://haryzepti.tumbrl.com/">Tumblr</a><br />
<a href="http://twitter.com/#%21/harybin"><img src="http://haryzepti.fileave.com/Jack-O-Lantern_32x32.png" /></a><a href="http://twitter.com/#%21/harybin">Tweet</a><br />
<a href="http://www.facebook.com/oneng.wahe"><img src="http://haryzepti.fileave.com/Witch%20Hat_32x32.png" /></a><a href="http://www.facebook.com/oneng.wahe">Facebook</a><br />
<img src="http://images.findicons.com/files/icons/1284/kill_bill/128/kato_mask.png" />
<div style="text-align:right">
<a href="javascript:showHideGB()">
[Close]
</a>
</div>
</div>
</div>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.right = (50-gb.offsetWidth).toString() + "px";
</script></div></div>

Jangan lupa untuk mengganti URL code hijau dengan URL milik kamu..!
temukan yang lainya disini

Comments