Tutorial Hover-Over Chatbox



Assalammualaikum. 
Tutorial requested by QB. Kalau nak tahu macam mana rupa Hover-Over chatbox ni, try dekat Edit HTML.  Thanks to cocorini for the basecode.

<style>
#cboxdiv {
    z-index: 9999;
    position: fixed;
    bottom: -300px;
    left: 20px;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}
#cboxdiv:hover {
    bottom: 0px;
}
 
#cboxtitle {
    text-align: center;
    font-size:15px;
    font-family: trebuchet ms;
    letter-spacing: 8px;
    color: #fff;
    text-shadow: 1px 1px 1px #fff;
    width: 180px;
    background-color: #aaa;
    padding: 3px 5px 5px 5px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
</style>
<div id="cboxdiv">
<div id="cboxtitle">chatbox</div>
YOUR CBOX CODE
</div>

Note : Adjust width to 190 and height to 225 for the cbox if you're not changing any code above. Change the value of left: 20px;. The higher the value, the more right it will go across the blog.

Remove code bawah ni dalam code cbox korang ;
<div id="cboxdiv" style="text-align: center; line-height: 0">

4 comments:

I don't approve harsh comments (: