Cara membuat Chatbox di Blog Slide Style

Mungkin dari temen temen pengen tahu cara membuat tampilan slide pada chatbox!! Ok saya akan memberikan tutorial cara membuat slide Chatbox Versi Imcyber





Langkah yang pertama.
Langkah-Langkah:
1.Login Blogger Layout
2.Klik Tambah Gadget
3.HTML/Javascript
4.Pastekan kode dibawah ini




ORIGINAL CHATBOX VERSION


<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

<script type="text/javascript">

$(document).ready(function(){



$(".btn-slide").click(function(){

$("#panel").slideToggle("slow");

$(this).toggleClass("active"); return false;

});





});

</script>

<style>
#panel {

height: auto;

background:#000;

width: auto;

display: none;

padding: 7px;

border: #0C0;

-moz-border-radius-topright:10px;

-webkit-border-top-right-radius:10px;

-moz-border-radius-bottomright:10px;

-webkit-border-bottom-right-radius:10px;

-moz-border-radius-topleft:10px;

-webkit-border-top-left-radius:10px;

-moz-border-radius-bottomleft:10px;

-webkit-border-bottom-left-radius:10px;

}

.slide {

margin: 0;

padding: 0;

border-top: solid 4px #f90;

background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp6U7o1uQc1wDhRdTmtOd7kfCtg3TlYvubr-riWYPCBn3u3F4joNx7FcTukXWrzckfSIi16Eqn6KctSacbS-I07H1n6hmCX-pejGjkYrhOSEw_1fD-uPO8R-wtRp-4OyWbeQVN8OZuyZc/s1600/btn-slide.png) no-repeat center top;

}

.btn-slide {

background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHYfYq-hdT-cxh5EPCtFosRbkVSJoQ8A2ERnUIS_13ssEp2U7N9553cGX_dgn3FI-tRCPSky690RPTg-q1GNu9G4629gvLCvZzXoXMQYwqYYxGLa5yRNopd_Wm0h06n_-1oM1Jn8sz0f4/s1600/white-arrow.gif) no-repeat right -50px;

text-align: center;

width: 144px;

height: 31px;

padding: 10px 10px 0 0;

margin: 0 auto;

display: block;

font: bold 120%/100% Arial, Helvetica, sans-serif;

color: #fff;

text-decoration: none;

}

.active {

background-position: right 12px;

}

</style>

<div id="panel">


</div>

<p class="slide"><a href="#" class="btn-slide">Chatbox</a></p>


 5.Klik Simpan dan liatlah hasilnya
Tampilkan Komentar
Sembunyikan Komentar

4 Komentar

Iklan Atas Artikel