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>
♣ Hide/Show Chatbox (Udh pas sama warnanya.. free for otak-atik).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 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 -->
Nih ane kasih tips juga kalo pengen ChatBox-nya berwarna mirip seperti kaskus...<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 -->
Cukup segitu deh tentang Hide~Show Chatbox... Samapi jumpa di Posting ane..
Oh iya, liat juga tips & trick penulisan dikotak ChatBox
Ditulis Oleh : Ð'₦ïḡɧŧɱẩŗε™ ~ Deskripsi Blog Anda
Artikel Cara Membuat Hide/Show Chatbox di BLog ini diposting oleh Ð'₦ïḡɧŧɱẩŗε™ pada hari . Terimakasih atas kunjungan Anda serta kesediaan Anda membaca artikel ini. Kritik dan saran dapat anda sampaikan melalui kotak komentar. Jangan lupa bagi yang mau Copas cantumkan sumber :
semua postingannya sangat bermanfaat...
Sedikit saran saja... mungkin lain kali mas broo bisa kasih petunjuk yang lebih rinci lagi supaya bisa cepet di mengerti bagi newbe seperti saya ini....
http//komunitas-salafiyyah.blogspot.com
kalo gak ngerti bisa di tanyakan kok...
okeeyyy dehh gan...
kalo gak ngerti bisa di tanya kan kok ....