Hai all..bersua kembali ke tutorial yang berikutnya...
koz pasti kebanyakan korang mesti tertanya-tanya macam mana nak buat shoutbox macam koz nyer blog inikan...ok...lau korang nak tahu cara nak buat mari koz ajarkan...langkah-langkahnya senang jek...
sebelum mulakan pastikan korang dah ada shoutbox sendiri(kalau yang tak ada itu boleh dapatkan di sini Shoutbox )
Langkah 1
Log in blog >Layout> Page Elements>Add a Gadget>HTML/JavaScript
Langkah 2
Korang copy dan paste code di bawah:-
<style type="text/css">
#gb{
position:fixed;
top:50px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbtab{
height:150px;
width:100px;
float:left;
cursor:pointer;
background:url('http://img686.imageshack.us/img686/686/shoutbox.png') no-repeat;
}
.gbcontent{
float:left;
border:2px solid #666666;
background:#F5F5F5;
padding:10px;
}
</style>
<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 100-w) : moveGB(80-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">
MASUKKAN CODE SHOUTBOX KORANG DEKAT SINI
<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 = (100-gb.offsetWidth).toString() + "px";
</script>
Langkah 3
Kemudian korang masukkan code shoutbox korang pada perkataan
" MASUKKAN CODE SHOUTBOX KORANG DEKAT SINI"
dah masukkan save dan tengoklah hasilnya...
camat mencuba :D
Comments:19
nice post. . .
apsl bt die xnaik pn shoutbox..ksong jer..jz da tnda close jer
@MISH LOLIPOPanda dah taruk code shoutbox tak?
dh pun tp ksong jer..da kotak kcik tulis close
huish, lama dah nk cari tutorial pasal hide/show ni..
thnkx! :|:
thanks tlg. sy dah wat. pastu kotak shoutbox tu same mcm kamu la plak yg bdk kecik comey tu. haihh xpe eh? kalo kamu x bg nnt sy tuka blek la.
@ZhEtxpe pakai je...mmg sesape yang megikuti tutorial ni akan mendapat button tu...:D
x leh un...
saya dah letak dah!!:b:
dh letak
ade tp cam cacat laaaa...
tlg tgk :)
@♥yaya♥
ape yang cacat yaya???koz tgk ok jek
dak nakal...tunjukkan posting utk shoutbox yg simple mcm shoutbox yg baru tu..mama ske....tp kalo leh buat warna pink lg mama ske....ahakss
@Ogy
warna pink?okey nnt koz buat tutorial tuk button dier lak oney :D
heyy budak nakal! this is fantastic! oh yea, i'm curi-ing ur banner taw. :p
xpekn kalau sy pkai gmbr yg sma dgn bdk rabbit tu??
tQ.. i like.. :e:
nice tutorial.
code shoutout tu pe?
x paham la...
tq ye..bermanfaat sgt..^_^
chenlina20160725
michael kors outlet clearance
nike factory outlet
polo ralph lauren
adidas originals store
louis vuitton outlet
louis vuitton outlet
jordan shoes
adidas shoes
north face outlet
supra shoes
nike sb shoes
coach outlet store online
vans shoes
mont blanc fountain pens
nfl jerseys wholesale
ghd hair straighteners
kate spade handbags
air jordans
ralph lauren outlet
replica rolex watches
oakley canada
rolex watches
kate spade handbags
michael kors handbags
michael kors handbags
burberry bags
christian louboutin shoes
cheap oakley sunglasses
rolex watches
ray ban wayfarer
adidas originals
jordan retro
michael kors uk
louis vuitton outlet
ray ban sunglasses
nike free runs
cheap jerseys
tory burch outlet
marc jacobs handbags
louis vuitton handbags
as
Post a Comment
Komehlah dan klik G+ di atas sekali okey^^