Home » » Fixed Guestbook Slide Effect With jQuery

Fixed Guestbook Slide Effect With jQuery










Caranya adalah sebagai berikut :

1. Login ke akun Blog anda.
2. Pilih Rancangan, Add Gadget kemudian klik HTML/Java Script.
3. Copy Paste script di bawah ini ke dalam gadget HTML/Java Script anda.

<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(){

    $(".gbbtn").click(function(){
        $("#gbcontent").slideToggle("slow");
        $(this).toggleClass("active"); return false;
    });

  
});
</script>
<style>
/* ---------------
Fixed Guestbook Slide effect with jQuery
by  : Dadang Herdiana
Url : http://dadhang.blogspot.com
---------------------------------- */
.gb {
position:fixed;
top:0px; left:0px;
z-index:+10;
}
#gbcontent {
        height: auto;
        background: #898787;
        width: auto;
        display: none;
    padding: 10px;
    border: #000;
    -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;
   
    -webkit-border-bottom-left-radius:10px;
}
.gbslide {
    float:left;
    margin: 0;
    padding: 0;
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyMe7Et9bNnuzwPkwCMEo-5_aPAQ8caI0h-eff1tn-2hlKIBzcyh5CUnQarqYJO2RjaBwt2zgEmD8e4CX0vVDG7O5YeH8vf53bcz_eUK_E74Lx_r8v3j4IQx8AIIfdGcNEkiB06AoVHX8/s1600/gbslide.png) no-repeat center top;


}
.gbbtn {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk-ivsJK5JaCJEpl79f9z_n1dsOuFlBxf-MRVTZdnt6y3MUUPYSfhbFHz2SEiReHic-5uWvfCu13Bz8bmDCoBn0KLk8_ngJm8Pg6K1ssQzeqg3tWPoVIfzHbimafdDTiBL-S2qK7A-z1o/s1600/button-Close-open2.png) no-repeat right -45px;
    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: #CCC;
    text-decoration: none;
}
.active {
    background-position: right 12px;
}
</style>
<div class="gb">
<div id="gbcontent">

<!-- Simpan Kode buku tamunya disini -->

</div>
<p class="gbslide"><a href="#" class="gbbtn">Guestbook</a></p></div>
4. Save . . . Hasilnya seperti Guesbook disudut kiri atas blog ini.
Share
Related Post

0 comments:


ShoutMix chat widget
Guest Book
 

Subscribe Via Email

Enter your email address:

Delivered by FeedBurner

My Blog

Show

Exploration


Show

[Valid Atom 1.0]
Google PageRank Checker Powered by  MyPagerank.Net

Powered by FeedBurner

SEO Stats powered by MyPagerank.Net

Show

Show

Exploration

Welcome To My Blog

I hope you find what you're looking for here . . Thank you for visit to my simple blog . .

Rizky Maulana

This life is a sacrifice and struggle . . and I am just a man who wants to be better than ever . .