Kali ini ane bakalan kasih tw cara pasang Hide / Show Chatbox..
Kalo Chatbox Ghost.. hmmm.. Mungkin ada yg belom tw sama baru denger sekarang kali yach..
Ente mau pasang Chatbox Ghost atau Hide/Show Chatbox ga?? Kalo mau, nyok kita lanjut..
Langkah yg harus dilakukan :
• Go to BLogger » Edit Tata Letak / Design » New Gadget / Tambah Gadget » HTML/JavaScript;
• Copy~Paste kode berikut ke tempat pengisian kode yg sudah agan buka;
♣ Chatbox Ghost (Sudah di setting Bertema Kaskus)
<style type="text/css">
.gb_fixed{
position:fixed;
top:0px; /* Top */
right:0px; /* Right */
z-index:+10;
}
* html .gb_fixed {position:relative;}
#hidden_gb2 {
display:none;
border:5px double #1679FF; /* Border Chatbox Gosht */
-webkit-border-radius:5px;
-moz-border-radius:5px;
border-radius:5px;
background:#FF9933; /* Bgcolor */
padding:10px; /* Padding */
padding-top:0px;
}
/* Show/Hide Button | Opacity Effect */
a.opacity img {
filter:alpha(opacity=50);
-moz-opacity: 0.5;
opacity: 0.5;
-khtml-opacity: 0.5;}
a.opacity:hover img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
-khtml-opacity: 1.0; }
img.emoticon {
padding: 0;
margin: 0;
border: 0;
}
</style>
<div class="gb_fixed">
<table id="hidden_gb2" cellpadding="0" cellspacing="0">
<tr><td>
<div><a href="javascript:void(0)" onclick="gb_showHideGB()"><center>[Close]</center></a></div>
</div>
<script type='text/javascript'>
//<![CDATA[
var gb_obj = document.getElementById("hidden_gb2");
var gb_finish = false;
function gb_setInitBehaviour(){
gb_obj.isHidden = true;
gb_setOpacity(gb_obj, "0.01");
}
function gb_setOpacity(obj, opacity){
opacity = opacity.substr(0, 4);
obj.style.opacity = opacity;
obj.style.filter = "alpha(opacity="+(Math.floor(parseFloat(opacity)*100)).toString()+")";
//writex(opacity);
}
function gb_showGB(){
gb_obj.style.display = "block";
gb_changeOpacityTo(1, "");
gb_obj.isHidden = false;
}
function gb_hideGB(){
gb_changeOpacityTo(0.01, "gb_obj.style.display = \"none\"");
gb_obj.isHidden = true;
}
function gb_changeOpacityTo(fin, funcStr){
var init = parseFloat(gb_obj.style.opacity.substr(0, 4));
var d = init <= 0.2 ? 0.04 : init <= 0.6 ? 0.08 : 0.20;
var m = fin>init ? 1 : -1;
var opacity = init + d * m;
if((fin-opacity)*(fin-init)<0){opacity = fin;}
gb_setOpacity(gb_obj, opacity.toString());
if(opacity != fin){setTimeout("gb_changeOpacityTo("+fin.toString()+", '"+funcStr+"')", 50);}
else{eval(funcStr);}
}
function gb_showHideGB(){
if(gb_obj.isHidden){gb_showGB();}
else{gb_hideGB();}
}
function writex(str){
document.getElementById("wx").innerHTML += str + " ";
}
gb_setInitBehaviour();
//]]>
</script>
<div style="z-index:+5" class="gb_fixed">
<a class="opacity" href="javascript:void(0)" onclick="gb_showHideGB()">
<img border="0" src="http://vinzz30.fileave.com/chatboxbutton.png" alt="Chatbox Button"/>
</a>
</div>
.gb_fixed{
position:fixed;
top:0px; /* Top */
right:0px; /* Right */
z-index:+10;
}
* html .gb_fixed {position:relative;}
#hidden_gb2 {
display:none;
border:5px double #1679FF; /* Border Chatbox Gosht */
-webkit-border-radius:5px;
-moz-border-radius:5px;
border-radius:5px;
background:#FF9933; /* Bgcolor */
padding:10px; /* Padding */
padding-top:0px;
}
/* Show/Hide Button | Opacity Effect */
a.opacity img {
filter:alpha(opacity=50);
-moz-opacity: 0.5;
opacity: 0.5;
-khtml-opacity: 0.5;}
a.opacity:hover img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
-khtml-opacity: 1.0; }
img.emoticon {
padding: 0;
margin: 0;
border: 0;
}
</style>
<div class="gb_fixed">
<table id="hidden_gb2" cellpadding="0" cellspacing="0">
<tr><td>
<div><a href="javascript:void(0)" onclick="gb_showHideGB()"><center>[Close]</center></a></div>
<!-- Chatbox Start -->
Put Your Chatbox in Here
<!-- Chathox End -->
</td></tr></table>Put Your Chatbox in Here
<!-- Chathox End -->
</div>
<script type='text/javascript'>
//<![CDATA[
var gb_obj = document.getElementById("hidden_gb2");
var gb_finish = false;
function gb_setInitBehaviour(){
gb_obj.isHidden = true;
gb_setOpacity(gb_obj, "0.01");
}
function gb_setOpacity(obj, opacity){
opacity = opacity.substr(0, 4);
obj.style.opacity = opacity;
obj.style.filter = "alpha(opacity="+(Math.floor(parseFloat(opacity)*100)).toString()+")";
//writex(opacity);
}
function gb_showGB(){
gb_obj.style.display = "block";
gb_changeOpacityTo(1, "");
gb_obj.isHidden = false;
}
function gb_hideGB(){
gb_changeOpacityTo(0.01, "gb_obj.style.display = \"none\"");
gb_obj.isHidden = true;
}
function gb_changeOpacityTo(fin, funcStr){
var init = parseFloat(gb_obj.style.opacity.substr(0, 4));
var d = init <= 0.2 ? 0.04 : init <= 0.6 ? 0.08 : 0.20;
var m = fin>init ? 1 : -1;
var opacity = init + d * m;
if((fin-opacity)*(fin-init)<0){opacity = fin;}
gb_setOpacity(gb_obj, opacity.toString());
if(opacity != fin){setTimeout("gb_changeOpacityTo("+fin.toString()+", '"+funcStr+"')", 50);}
else{eval(funcStr);}
}
function gb_showHideGB(){
if(gb_obj.isHidden){gb_showGB();}
else{gb_hideGB();}
}
function writex(str){
document.getElementById("wx").innerHTML += str + " ";
}
gb_setInitBehaviour();
//]]>
</script>
<div style="z-index:+5" class="gb_fixed">
<a class="opacity" href="javascript:void(0)" onclick="gb_showHideGB()">
<img border="0" src="http://vinzz30.fileave.com/chatboxbutton.png" alt="Chatbox Button"/>
</a>
</div>
♣ Hide/Show Chatbox (Udh pas sama warnanya.. free for otak-atik)
<!-- Hide/Show Chatbox by VinZz-30 START -->
<style>
#hcl {
position:fixed;
top:20px;
right:0px;
z-index:+1000;
}
* html #hcl {position:relative;}
.hcltab {
height:125px;
width:30px;
float:right;
cursor:pointer;
background:url('http://vinzz30.fileave.com/chatboxpush.png') no-repeat;
}
.hclcontent {
float:right;
border:6px double #070809;
background:#FFFFFF;
padding:10px;
}
.hc-credit {font-size:9px}
.hc-credit a {text-decoration:none}
</style>
<script type="text/javascript">
function showHidehcl(){
var hcl = document.getElementById("hcl");
var w = hcl.offsetWidth;
hcl.opened ? movehcl(0, 30-w) : movehcl(20-w, 0);
hcl.opened = !hcl.opened;
}
function movehcl(x0, xf){
var hcl = document.getElementById("hcl");
var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
hcl.style.right = x.toString() + "px";
if(x0!=xf){setTimeout("movehcl("+x+", "+xf+")", 10);}
}
</script>
<div id="hcl">
<div class="hclcontent">
<br />
<div class="hc-credit">
<span style="float:left">
<a href="javascript:showHidehcl()">
[CLOSE]
</a>
</span>
</div>
</div>
<div class="hcltab" onclick="showHidehcl()"> </div>
</div>
<script type="text/javascript">
var hcl = document.getElementById("hcl");
hcl.style.right = (30-hcl.offsetWidth).toString() + "px";
</script>
<!-- Hide/Show Chatbox by VinZz-30 END -->
<style>
#hcl {
position:fixed;
top:20px;
right:0px;
z-index:+1000;
}
* html #hcl {position:relative;}
.hcltab {
height:125px;
width:30px;
float:right;
cursor:pointer;
background:url('http://vinzz30.fileave.com/chatboxpush.png') no-repeat;
}
.hclcontent {
float:right;
border:6px double #070809;
background:#FFFFFF;
padding:10px;
}
.hc-credit {font-size:9px}
.hc-credit a {text-decoration:none}
</style>
<script type="text/javascript">
function showHidehcl(){
var hcl = document.getElementById("hcl");
var w = hcl.offsetWidth;
hcl.opened ? movehcl(0, 30-w) : movehcl(20-w, 0);
hcl.opened = !hcl.opened;
}
function movehcl(x0, xf){
var hcl = document.getElementById("hcl");
var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
hcl.style.right = x.toString() + "px";
if(x0!=xf){setTimeout("movehcl("+x+", "+xf+")", 10);}
}
</script>
<div id="hcl">
<div class="hclcontent">
<!-- Chatbox START -->
Put Your Chatbox in Here
<!-- Chatbox END -->
Put Your Chatbox in Here
<!-- Chatbox END -->
<br />
<div class="hc-credit">
<span style="float:left">
<a href="javascript:showHidehcl()">
[CLOSE]
</a>
</span>
</div>
</div>
<div class="hcltab" onclick="showHidehcl()"> </div>
</div>
<script type="text/javascript">
var hcl = document.getElementById("hcl");
hcl.style.right = (30-hcl.offsetWidth).toString() + "px";
</script>
<!-- Hide/Show Chatbox by VinZz-30 END -->
nih ane kasih tips juga kalo pengen ChatBox-nya berwarna mirip seperti kaskus..
nih penampakannya gan..
Spoiler for Tips Color CBox
Trus ane kasih tw lg nih biar memperkeren ChatBox agan..
nih caranya..
Spoiler for Memperkeren CBox
Cukup segitu deh tentang Hide~Show Chatbox... Samapi jumpa di Posting ane..
Oh iya, liat juga tips & trick penulisan dikotak ChatBox
12 Comment:
gan log ane mau psang CB yang barusan agan ksih tau, kira² koment dari orang terdahulu ilang ato masih ada gan?
CB apaan gan??
:bingung
oo... ane bru ngartos...
kalo chat orgnya ga bakalan ilang kalo ganti tampilan gitu doang mah.. guest book agan emg pengen agan ganti jd yg diatas??
pengennya gan
insyaallah
hehehe
gan, kalo emg agan pengen ganti, ganti aj.. gpp kok.. nanti ane kasih tips deh..
Mantap Chooeeey
gan .. kok tempat ane gk muncul ya kotak komentarnya?? :bingung
gan buat kotak koment kya agan yang bertema kaskus bleh berbagi ga gan ilmunya???
ane ;rate5 deh gan
ane :rate5 deh gan
mantep jon
Quote:
:ilovekaskus :iloveindonesia :kiss :maho
:najis :nosara :marah :berduka
:malu: :ngakak :repost: :repost2:
:sup2: :cendolbig :batabig :recsel
:takut :ngacir2: :shakehand2: :bingung
:cekpm :cd :hammer :peluk
:toast :hoax: :cystg :dp
:selamat :thumbup :2thumbup :angel
:matabelo :mewek: :request :babyboy:
:babyboy1: :babygirl
:sorry :kr: :travel :nohope
:kimpoi :ngacir: :ultah :salahkamar
:rate5 :cool :bola :hn
:games :jrb: :kts: :sup:
:kbgt: :kacau: :bigo: :repost: :cd:
Kalo ente N'da ngartos, Ente komentar aja..
Pokoknya ane jawab deh..
NB:
[ No SPAM, No Sara, and No Junk ]