shoutmix + picture

tutorial


shoutmix + gambar?? cmne tue ikaa?? leh tolog ajaq kejap x?? nie adalah permintaan dari sowg adik nie hah...nie mst dia nk letak pic mamat K-POP nie...huhu jum ikaa tunjuk step na :)


1. Dashboard > Design > Add gadget > code shoutmix kowg

2. bukak code shout kowg yg mcm bwh nie hah

<style type="text/css">
#gb{
position:fixed;
top:50px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbtab{
height:
110px;
width:
100px;
float:left;
cursor:pointer;
background:url('
URL ICON') no-repeat;
}
.gbcontent{
float:left;
border:0px solid #000000;
background:#ffffff;
padding:5px;
}
</style>
<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 99-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">
<img border="0" src="URL GAMBAR" width="200" height="
150" /></a>

CODE SHOUTBOX KORANG


<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 = (95-gb.offsetWidth).toString() + "px";
</script>


3. then kowg save and lihat hasilnya ye..:)
0 Komentar untuk "shoutmix + picture"

Terima kasih untuk komen yang berharga anda, datang lagi.

 
Copyright © 2014 Bakul2011.com - All Rights Reserved
Template By. Catatan Info