Wednesday, September 01, 2010

Tutorial : Hide Shoutbox, sembunyi tepi dinding

Republish sebab ada tambahan 4 designs. Ada di bawah sekali. ^_^

Bagaimana mahu buat shoutbox macam di tepi ini >>

ramai dah blogger buat tutorial..tapi atas permintaan, rina buat juga lah lagi sekali..


First

Seperti biasa
Dashboard >> Design >> Page Element >> Add Gadget >> HTML/Javascript

Second

Copy paste Code bawah ini

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

.gbtab{
height:180px;
width:30px;
float:left;
cursor:pointer;
background:url('http://i53.photobucket.com/albums/g68/rina_besh/tabscopy.gif') 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, 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">

MASUKKAN CODE SHOUTBOX DISINI

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


* Berwarna BIRU : Boleh adjust sama ada nak bagi lebih tinggi atau lebih rendah

* Berwarna MERAH : URL Image. Korang boleh letak gambar apa-apa pun. Kalau nak buat sendiri pun boleh. Tapi the best - width : 30 px.

Rina bagi free 5 design :

Good Luck All!

P/s : Sebarang credits ke blog ini, amat dihargai ^_^



37 footprints here! Thanks! (◕‿◕):

AishaAminudin 12/8/10 2:00 PM  

rina, thanks ye, sis dah lama nk wat ni tapi asyik ade error jer, nanti sis buat..hrp sangat berjaya

Farhana 12/8/10 2:12 PM  

ooh gtu ekkk..... nti kt try... :D
warne ape ek? kuning ke biru ke :D

Rina Lia (◕‿◕)✿ 12/8/10 2:25 PM  

adyshariz : gudluck. kalau xbjaye, tnye je rina :)

mummynana : hehe..nnt rina watkan kaler lain gak. sorry...rina x perasan mummynana WP..hrp2 leh applykan hehe

Unknown 12/8/10 4:23 PM  

nak buat juga,tapi tak rajin.rina buatkan!!haha.leh?

Rina Lia (◕‿◕)✿ 12/8/10 4:27 PM  

senang jela. sume malas. ape yg rajin ni?? :p

Unknown 12/8/10 5:13 PM  

rajin update blog.....sbb org tu suro ;P

Rina Lia (◕‿◕)✿ 12/8/10 9:19 PM  

nak kene suruh baru buat?? xreti wat sendiri? hehe *ade mcm kakak yg garang tak :p*

Cik Nuyu 13/8/10 8:38 AM  

thkz rina..
i amik tutorial nie..

hamzah ian 1/9/10 6:06 PM  

oyeah.. dah tutorial eyh.. nice

Bro Framestone 1/9/10 11:37 PM  

ala comeynye... kat wordpress xleh buh ke..??

Regard,
BroFramestone Blog
@ Sudi-sudikan melawati BroFramestone In D' House

Rina Lia (◕‿◕)✿ 2/9/10 11:43 AM  

hamzah : hhehe..kdg2 wat gk tutorial :)

bro : thanks bro..xtau la plak..xpna gne wordpress huhu

Redbloodsnow 2/9/10 3:54 PM  

vavava...clurrlasss ah dik. main booo cakkk booo cakkk lak shoutbox tuh ek..hehe

Rina Lia (◕‿◕)✿ 3/9/10 12:07 PM  

hihihi. tula kak. kemasss ket :)

eilasuhaila 6/10/10 7:51 PM  

nice belog..
nice tutorial..

Just a random girl... 20/10/10 1:18 PM  

saya pinjam yang colour pink tu ya, hehehe... :)

nice tutorial :)

Ezzattie 28/10/10 1:07 PM  

yeay ! jadi ! saya amek semua kaler ye.. hahaha.. purple tu cntek lah, ade rama2 gituh.. tapi k.rina nak tye.. nak stabilkan height n width camane ? hehehe tlg sy.. pasal shoutbox sy cam lebar sgt lah..

she jirah 29/10/10 2:34 AM  

saya pnjam yg warna hijau tu.
thanks.
hee~~~~

Cik Bulat 3/11/10 10:56 PM  

nice!
Pikok pinjam satu..:D

Adynda Nurfarina 7/11/10 2:45 PM  

dynda amik kaler pink.. thanx ..hihi

Atin 9/11/10 1:37 PM  

atin try shoutbox ni. yaayy! menjadi..mekasih yea...

lili 16/11/10 5:57 PM  

hey,design ni sume you edit sendiri ea? whoa, terror nye. ahaha :D

lili 16/11/10 5:59 PM  

including design yg you tengah gune ni??? ---->

MrsYats 29/11/10 9:17 PM  

tengkiu..dah buat...:D

irsya halim 16/12/10 7:24 PM  

thanks rina .. ira dh wat & berjaya .. cute sgt .. thanks

Anonymous,  20/12/10 10:22 PM  

tq rina..yadam dh buat dgn jayanya :-)

myssmie 22/12/10 2:27 PM  

tQ ya!!!!
hehe..... dah buat =)

tyraa1910 :) 23/12/10 5:40 PM  

tq kak
tp mane nk dpt code yg 5 kt bwah tu??

Anonymous,  23/12/10 7:14 PM  

klik je kat gmbr tu...copy url gmbr tu

cikcleopatra 14/1/11 3:19 PM  

woot woot..amik your gossip box icon satu.hee.

Diayoi 23/1/11 3:23 PM  

yeahh .menjadi punn .curik awk punye gosip psst psst . :) tenkiu .

❤ lovelymasha❤ 2/2/11 12:31 PM  

salam kenal...
akak dah ambik copy yg rina puya utk belog akak...thanks akak jadi dah buat...kalau sudi jom singgah belog akak...tk

Unknown 8/2/11 4:58 PM  

thanks for the tutorial :)

Puan Huda 14/2/12 11:54 AM  

thanks rina share tutorial nie..dah berjaya buat..

Lailatul Syuhada 20/2/12 3:42 PM  

akk,,sy amek satu ye..thanks

Related Posts with Thumbnails

  © Rina Stories~* at Rinastories.Blogspot. All Rights Reserved. Powered by Blogger.

Goto Top