Thursday, April 03, 2025

Hidden Chatbox


 
Hidden chatbox merupakan salah satu pilihan yang cukup efisien guna menghemat tempat di blog atau WEB. Ada 2 pilihan Hidden Chatbox, yaitu Right Hidden Chatbox dan Left Hidden Chatbox. Saya Sendiri Menggunakan Versi Pertama, dengan sedikit sentuhan dibeberapa bagian..hehehe..^^
Langsung ke intinya saja..

Ini kodenya:
 

Left Hidden Chatbox

 

<!-- left hidden chatbox by http://aiaenciel.blogspot.com START -->
<style>
#hcl {
position:fixed;
top:100px;
left:0px;
z-index:+1000;
}
* html #hcl {position:relative;}
.hcltab {
height:100px;
width:30px;
float:left;
cursor:pointer;
background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvCBN37h0G6MQNVYp0NtJcnyr4T6ha4cQavEKoBK2UcjHftZLxFYtRg9SM8N9dcchAk3UTt-v-YXXIO-6vhBDc1qky2Z70LDE-hsH4zcAbx_5EwK4GMHP-z46GrB0VwHu7MziKHi8fvwc/s400/cbred-LEFT.png') no-repeat;
}
.hclcontent {
float:left;
border:2px solid #790909;
background:#f3f6f7;
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.left = x.toString() + "px";
if(x0!=xf){setTimeout("movehcl("+x+", "+xf+")", 10);}
}
</script>
<div id="hcl">
<div class="hclcontent">


<!-- ISI DENGAN KODE CHATBOX ANDA -->


<br />
<div class="hc-credit">
<span style="float:left">
<!-- THIS CREDIT MUST STAY INTACT FOR LEGAL USE -->
<a href="http://aiaenciel.blogspot.com/2010/04/ada-2-pilihan-hidden-chatbox-yaitu.html" target="_blank">
Get this widget!
</a>
</span>
<span style="float:right">
<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.left = (30-hcl.offsetWidth).toString() + "px";
</script>
<!-- left hidden chatbox by http://aiaenciel.blogspot.com END -->



Right Hidden Chatbox

 

<!-- right hidden chatbox by http://aiaenciel.blogspot.com START -->
<style>
#hcr {
position:fixed;
top:100px;
z-index:+1000;
}
* html #hcr {position:relative;}
.hcrtab {
height:100px;
width:30px;
float:left;
cursor:pointer;
background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3BBKl8EFAAHvMSGrDNS0lLRfciHxZ7q9hNjhapjz7mpZXkloT53WmoDI1bAZ5306ddde5cOy-Um4qcFqi2tc7ObKCW3WHiTTLZ7c_rJcyk0ldj4ESwsgl8kSaxjIgOq2dScB8L-1-9CU/s400/cbblue.png') no-repeat;
}
.hcrcontent {
float:left;
border:2px solid #003e82;
background:#f3f6f7;
padding:10px;
}
.hc-credit {font-size:9px}
.hc-credit a {text-decoration:none}
</style>
<script type="text/javascript">
function showHidehcr(){
var hcr = document.getElementById("hcr");
var w = hcr.offsetWidth;
hcr.opened ? movehcr(0, 30-w) : movehcr(20-w, 0);
hcr.opened = !hcr.opened;
}
function movehcr(x0, xf){
var hcr = document.getElementById("hcr");
var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
hcr.style.right = x.toString() + "px";
if(x0!=xf){setTimeout("movehcr("+x+", "+xf+")", 10);}
}
</script>
<div id="hcr">
<div class="hcrtab" onclick="showHidehcr()"> </div>
<div class="hcrcontent">


<!-- ISI DENGAN KODE CHATBOX ANDA -->


<br />
<div class="hc-credit">
<span style="float:left">
<!-- THIS CREDIT MUST STAY INTACT FOR LEGAL USE -->
<a href="http://aiaenciel.blogspot.com/2010/04/ada-2-pilihan-hidden-chatbox-yaitu.html" target="_blank">
Get this widget!
</a>
</span>
<span style="float:right">
<a href="javascript:showHidehcr()">
[close]
</a>
</span>
</div>
</div>
</div>
<script type="text/javascript">
var hcr = document.getElementById("hcr");
hcr.style.right = (30-hcr.offsetWidth).toString() + "px";
</script>
<!-- right hidden chatbox by http://aiaenciel.blogspot.com END -->


Keterangan Tambahan:

#hcr {
position:fixed;
top:100px; /* Menunjukkan jarak tab dari atas adalah sejauh 100px. Bisa diganti dengan bottom:100px yang berarti jarak tab dari bawah menjadi sejauh 100px */
z-index:+1000;
}


.hcrtab {
height:100px; /* tinggi tab pembuka hidden chatbox */
width:30px; /* tinggi tab pembuka hidden chatbox */
float:left;
cursor:pointer;
background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3BBKl8EFAAHvMSGrDNS0lLRfciHxZ7q9hNjhapjz7mpZXkloT53WmoDI1bAZ5306ddde5cOy-Um4qcFqi2tc7ObKCW3WHiTTLZ7c_rJcyk0ldj4ESwsgl8kSaxjIgOq2dScB8L-1-9CU/s400/cbblue.png') no-repeat; /* Icon gambar hidden chatbox */
}


.hcrcontent {
float:left;
border:2px solid #003e82; /* warna dan ukuran border hidden chatbox */
background:#f3f6f7; /* warna background hidden chatbox (tidak perlu diganti jika anda mengedit kode lain pada style) */
padding:10px;
}


Tambahan:

Beberapa contoh gambar tab pembuka hidden chatbox dan kode warna html:


cbred-LEFTcbred
Kode warna border: #790909
cbyellow-LEFTcbyellow
Kode warna border: #aca500


cbgreen-LEFTcbgreen
Kode warna border: #008232


cbblue-LEFTcbblue
Kode warna border: #003e82


cbblue-2-LEFTcbblue-2
Kode warna border: #0079a0


Selamat Berkreasi..^^

Stumble
Delicious
Technorati
Twitter
Facebook

Comments (13)

Loading... Logging you in...
  • Logged in as
ok..makasih sob
thx ai..
Wih kerenn gan.. makasih triknya...
1 reply · active 777 weeks ago
wah keren gan ane coba di psang di blog lain moga makin mantaf
1 reply · active 777 weeks ago
trimakasih atas do'anya mas..
sEmoga bermanfaat..hehe.. B)
oke thank infonya..
o ya.. cuma ngasih tau mas.. ku pernah baca kalau AW SURVEY itu scam..
mampir balik ya.. ke BOOK ONLINE..
atan-hacker.blogspot.com
3 replies · active 774 weeks ago
sama2 mas..^^
ia mas, aq jG pernah baca postingan temen ttng awsurveys, udah kEtanggung basah mas..hehe.. xD
trimakasih atas infonya..^^
terimakasih mas atas inFonya..^^ sanGat membantu..^^
makasih lagi a'
ane juga mau coba... :) mesothelioma lawyer
Nice editing. Keep your going.

Post a new comment

Comments by

Your Ad Here

The last comments for

How to add Technorati Add to Favorites button to your Blog

pakar seo

Right. this good site for read . bisnis online...

August 03, 2019 04:26:17 Jump to

The last comments for

How to add Flying "Scroll to Top" button to your Blogger blog using Jquery

nsoumyaranjan

Its a good blog and very nice and useful.

June 19, 2019 07:36:14 Jump to

The last comments for

73 Layanan Ping Service Untuk Promosi Blog

aaa

TerimaKasih
Sewa Mobil...

June 13, 2019 00:54:54 Jump to

The last comments for

Membuat Auto Read More - Versi 2

priya thakur

WE PROVIDE SEXY SMART BEAUTIFUL COLLEGE GIRLS, PUNJABI, KASHMIRI, RUSSIAN, AIRHOSTESS AND RAMP MODELS...

December 26, 2017 11:54:18 Jump to

The last comments for

73 Layanan Ping Service Untuk Promosi Blog

TirupatiTourPackages

Thanks for the information, Very nice your blog. Information shearing for face book...
Chennai to...

November 29, 2015 16:30:13 Jump to

 

aia En ciel's Copyright © 2010 | All Rights Reserved | Using Blogger | LKart Theme | Edit by. aia En ciel's