Sunday, June 10, 2012

Cara Membuat Komentar Blogspot dan Facebook Berdampingan

Cara Membuat Komentar Blogspot dan Facebook Berdampingan


Cara Membuat  Komentar ber dampingan :
1. Login ke Blog
2. Rancangan - Edit HTML
3. Untuk menghindari keselahan, Backup template anda terlebih dahulu dengan Download lengkap
4. Centang "Expand Template Widget"
5. Cari Kode <div class='comments' id='comments'>
Biasanya akan terdapat 2 kode tersebut di template anda
Copy kode di bawah ini tepat di bawah kode <div class='comments' id='comments'>  yang ke 2

<div class='comments-tab' id='fb-comments' onclick='javascript:commentToggle(&quot;#fb-comments&quot;);' title='Comments made with Facebook'>
<img class='comments-tab-icon' src='http://static.ak.fbcdn.net/rsrc.php/v1/yH/r/eIpbnVKI9lR.png'/>
<fb:comments-count expr:href='data:post.url'/> Comments
</div>
<div class='comments-tab inactive-select-tab' id='blogger-comments' onclick='javascript:commentToggle(&quot;#blogger-comments&quot;);' title='Comments from Blogger'>
<img class='comments-tab-icon' src='http://www.blogger.com/img/icon_logo32.gif'/> <data:post.numComments/> Comments
</div><div class='clear'/>
</div>
<div class='comments-page' id='fb-comments-page'>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='fb-root'/>
<fb:comments expr:href='data:post.url' num_posts='2' width='400'/>
</b:if>
</div>
<div class='comments comments-page' id='blogger-comments-page'>


PEJELASAN
2 : Jumlah Komentar Facebook yang akan di tampilkan
400 : Lebar Komentar Facebook

6. Lalu Cari kode </head>
Copy Kode dibawah ini tepat diatas kode </head>


<script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/>
<script src='http://code.jquery.com/jquery-latest.js'/>
<meta content='ID Facebook' property='fb:admins'/>
<script type='text/javascript'>
function commentToggle(selectTab) {
$(".comments-tab").addClass("inactive-select-tab");
$(selectTab).removeClass("inactive-select-tab");
$(".comments-page").hide();
$(selectTab + "-page").show();
}
</script>

7. Cari kode /* Comment atau #comments
Setiap Template mempunyai struktur kode yang berbeda-beda, jadi cari saja kode yang mirip dengan kode diatas
Copy kode berikut di bawah kode diatas tadi




.comments-page { background-color: #f2f2f2;}
#blogger-comments-page { padding: 0px 5px; display: none;}
.comments-tab { float: left; padding: 5px; margin-right: 3px; cursor: pointer; background-color: #f2f2f2;}
.comments-tab-icon { height: 14px; width: auto; margin-right: 3px;}
.comments-tab:hover { background-color: #eeeeee;}
.inactive-select-tab { background-color: #d1d1d1;}

8. Simpan


Friday, June 8, 2012

GuestBook TB4all

Silahkan isi Buku Tamu ini ^_^
_-=REQUEST ARTIKEL=-_
.:: Tamu Wajib Lapor 1x24 JAM ::.

Thursday, June 7, 2012

5 Style Download Buttons Dengan CSS






== Style 1 ==
- CSS:

<style>
.dropbutton {
    /* main class */
    height: 48px;
    width: 200px;
    font: bold 16px/48px arial;
    margin-bottom: 60px;
    position: relative;
}


/* ===============================
   ========= BLUE STYLE =========
   ===============================
   ================================================== */

.blue:first-child {
    /* styling for the left part */
    padding: 7px;
    float: left;
    width: 32px;
    height: 32px;
    /* border radius */
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
    /* backgorund */
    background: -webkit-gradient(linear, left top, left bottom, from(#87deff), to(#40a9fd));
    background: -moz-linear-gradient(#87deff, #40a9fd);
    background-color: #40a9fd;
    /* shadows and highlights */
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    /* border */
    border: 1px solid #008af5;
}

.dropbutton:hover .blue:first-child {
    background: -webkit-gradient(linear, left top, left bottom, from(#b1eaff), to(#68bcff));
    background: -moz-linear-gradient(#b1eaff, #68bcff);
    background-color: #68bcff;
}

.dropbutton:active .blue:first-child {
    background: -webkit-gradient(linear, left top, left bottom, from(#68bcff), to(#87deff));
    background: -moz-linear-gradient(#68bcff, #87deff);
    background-color: #87deff;
}

.blue {
    /* styling for the right part */
    height: 46px;
    width: 151px;
    float: left;
    text-align: center;
    /* border radius */
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    /* backgorund */
    background: -webkit-gradient(linear, left top, left bottom, from(#87deff), to(#40a9fd));
    background: -moz-linear-gradient(#87deff, #40a9fd);
    background-color: #40a9fd;
    /* shadows and highlights */
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    /* border */
    border: 1px solid #008af5;
    border-left: 0;
}

.dropbutton:hover .blue {
    background: -webkit-gradient(linear, left top, left bottom, from(#b1eaff), to(#68bcff));
    background: -moz-linear-gradient(#b1eaff, #68bcff);
    background-color: #68bcff;
}

.dropbutton:active .blue {
    background: -webkit-gradient(linear, left top, left bottom, from(#68bcff), to(#87deff));
    background: -moz-linear-gradient(#68bcff, #87deff);
    background-color: #87deff;
}

.blue  a {
    /* link styling */
    color: #fbfbfb;
    font: bold 16px/32px arial, helvetica, sans-serif;
    text-decoration: none;
    text-shadow: 0 1px 0 #008af5;
}


/* ====================================
   ====== DARK STYLE (DROPDOWN) =======
   ====================================
   ================================================== */

.dark {
    width: 120px;
    height: 31px;
    padding: 7px 6px;
    margin-left: 58px;
    position: absolute;
    clear: both;
    z-index: -1;
    -webkit-transition: top .6s linear;
    /* text */
    color: #fbfbfb;
    font: bold 12px/15px arial, helvetica, sans-serif;
    text-decoration: none;
    text-shadow: 0 1px 0 #000;
    /* border radius */
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
    /* backgorund */
    background: -webkit-gradient(linear, left top, left bottom, from(#2b2b2b), color-stop(.1, #5c5c5c), to(#838383));
    background: -moz-linear-gradient(#2b2b2b, #5c5c5c 10%, #838383);
    background-color: #ccc;
    /* shadows and highlights */
    -webkit-box-shadow: 0 -1px 1px rgba(255, 255, 255, 0.5) inset;
    -moz-box-shadow: 0 -1px 1px rgba(255, 255, 255, 0.5) inset;
    box-shadow: 0 1px -1px rgba(255, 255, 255, 0.4) inset;
    /* border */
    border: 1px solid #000;
    border-top: 0;
}

.dropbutton:hover .dark { top: 48px }

.dark img { float: left }

.dark span {
    color: #e5e5e5;
    font-weight: normal;
}
</style>

- HTML :

<div class="dropbutton">
    <div class="blue">
            <img src="http://iwantaneff.in/t/arrow.png" />
    </div>
    <div class="green">
            <a href="#">Download now!</a>
    </div>
    <div class="dark">
        <img src="http://iwantaneff.in/t/file.png" />
        Version 3.0 <br />
        <span>255 MB</span>
    </div>
</div>



== Style 2 ==
- CSS :

.dropbutton {
    /* main class */
    height: 48px;
    width: 200px;
    font: bold 16px/48px arial;
    margin-bottom: 60px;
    position: relative;
}


/* ===============================
   ========= BLACK STYLE =========
   ===============================
   ================================================== */

.black:first-child {
    /* styling for the left part */
    padding: 7px;
    float: left;
    width: 32px;
    height: 32px;
    /* border radius */
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
    /* backgorund */
    background: -webkit-gradient(linear, left top, left bottom, from(#818181), to(#242424));
    background: -moz-linear-gradient(#818181, #242424);
    background-color: #222;
    /* shadows and highlights */
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    /* border */
    border: 1px solid #000;
}

.dropbutton:hover .black:first-child {
    background: -webkit-gradient(linear, left top, left bottom, from(#a2a2a2), to(#3d3d3d));
    background: -moz-linear-gradient(#a2a2a2, #3d3d3d);
    background-color: #555;
}

.dropbutton:active .black:first-child {
    background: -webkit-gradient(linear, left top, left bottom, from(#3d3d3d), to(#818181));
    background: -moz-linear-gradient(#3d3d3d, #818181);
    background-color: #777;
}

.black {
    /* styling for the right part */
    height: 46px;
    width: 151px;
    float: left;
    text-align: center;
    /* border radius */
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    /* backgorund */
    background: -webkit-gradient(linear, left top, left bottom, from(#818181), to(#242424));
    background: -moz-linear-gradient(#818181, #242424);
    background-color: #222;
    /* shadows and highlights */
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    /* border */
    border: 1px solid #000;
    border-left: 0;
}

.dropbutton:hover .black {
    background: -webkit-gradient(linear, left top, left bottom, from(#a2a2a2), to(#3d3d3d));
    background: -moz-linear-gradient(#a2a2a2, #3d3d3d);
    background-color: #555;
}

.dropbutton:active .black {
    background: -webkit-gradient(linear, left top, left bottom, from(#3d3d3d), to(#818181));
    background: -moz-linear-gradient(#3d3d3d, #818181);
    background-color: #777;
}

.black  a {
    /* link styling */
    color: #fbfbfb;
    font: bold 16px/32px arial, helvetica, sans-serif;
    text-decoration: none;
    text-shadow: 0 1px 0 #000;
}


/* ====================================
   ====== LIGHT STYLE (DROPDOWN) ======
   ====================================
   ================================================== */

.light {
    width: 120px;
    height: 31px;
    padding: 7px 6px;
    margin-left: 58px;
    position: absolute;
    clear: both;
    z-index: -1;
    -webkit-transition: top .6s linear;
    /* text */
    color: #333;
    font: bold 12px/15px arial, helvetica, sans-serif;
    text-decoration: none;
    text-shadow: 0 1px 0 #fff;
    /* border radius */
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
    /* backgorund */
    background: -webkit-gradient(linear, left top, left bottom, from(#bababa), color-stop(.1, #e4e4e4), to(#f2f2f2));
    background: -moz-linear-gradient(#bababa, #e4e4e4 10%, #f2f2f2);
    background-color: #ccc;
    /* shadows and highlights */
    -webkit-box-shadow: 0 1px -1px rgba(255, 255, 255, 1) inset;
    -moz-box-shadow: 0 -1px 1px rgba(255, 255, 255, 1) inset;
    box-shadow: 0 1px -1px rgba(255, 255, 255, 0.8) inset;
    /* border */
    border: 1px solid #bbb;
    border-top: 0;
}

.dropbutton:hover .light { top: 48px }

.light img { float: left }

.light span {
    color: #555;
    font-weight: normal;
}



-HTML :


<div class="dropbutton">
    <div class="black">
            <img src="http://iwantaneff.in/t/arrow.png" />
    </div>
    <div class="orange">
            <a href="#">Download now!</a>
    </div>
    <div class="light">
        <img src="http://iwantaneff.in/t/box.png" />
        ZIP File <br />
        <span>25 KB</span>
    </div>
</div>



== Style 3 ==
- CSS :

.dropbutton {
    /* main class */
    height: 48px;
    width: 200px;
    font: bold 16px/48px arial;
    margin-bottom: 60px;
    position: relative;
}


/* ===============================
   ======== PURPLE STYLE =========
   ===============================
   ================================================== */

.purple:first-child {
    /* styling for the left part */
    padding: 7px;
    float: left;
    width: 32px;
    height: 32px;
    /* border radius */
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
    /* backgorund */
    background: -webkit-gradient(linear, left top, left bottom, from(#cba7f5), to(#9b45f4));
    background: -moz-linear-gradient(#cba7f5, #9b45f4);
    background-color: #9b45f4;
    /* shadows and highlights */
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    /* border */
    border: 1px solid #6a14c3;
}

.dropbutton:hover .purple:first-child {
    background: -webkit-gradient(linear, left top, left bottom, from(#dcbefe), to(#a75ff2));
    background: -moz-linear-gradient(#dcbefe, #a75ff2);
    background-color: #a75ff2;
}

.dropbutton:active .purple:first-child {
    background: -webkit-gradient(linear, left top, left bottom, from(#b97afc), to(#cba7f5));
    background: -moz-linear-gradient(#b97afc, #cba7f5);
    background-color: #cba7f5;
}

.purple {
    /* styling for the right part */
    height: 46px;
    width: 151px;
    float: left;
    text-align: center;
    /* border radius */
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    /* backgorund */
    background: -webkit-gradient(linear, left top, left bottom, from(#cba7f5), to(#9b45f4));
    background: -moz-linear-gradient(#cba7f5, #9b45f4);
    background-color: #9b45f4;
    /* shadows and highlights */
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    /* border */
    border: 1px solid #6a14c3;
    border-left: 0;
}

.dropbutton:hover .purple {
    background: -webkit-gradient(linear, left top, left bottom, from(#dcbefe), to(#a75ff2));
    background: -moz-linear-gradient(#dcbefe, #a75ff2);
    background-color: #a75ff2;
}

.dropbutton:active .purple {
    background: -webkit-gradient(linear, left top, left bottom, from(#b97afc), to(#cba7f5));
    background: -moz-linear-gradient(#b97afc, #cba7f5);
    background-color: #cba7f5;
}

.purple  a {
    /* link styling */
    color: #fbfbfb;
    font: bold 16px/32px arial, helvetica, sans-serif;
    text-decoration: none;
    text-shadow: 0 1px 0 #6a14c3;
}


/* ====================================
   ====== DARK STYLE (DROPDOWN) =======
   ====================================
   ================================================== */

.dark {
    width: 120px;
    height: 31px;
    padding: 7px 6px;
    margin-left: 58px;
    position: absolute;
    clear: both;
    z-index: -1;
    -webkit-transition: top .6s linear;
    /* text */
    color: #fbfbfb;
    font: bold 12px/15px arial, helvetica, sans-serif;
    text-decoration: none;
    text-shadow: 0 1px 0 #000;
    /* border radius */
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
    /* backgorund */
    background: -webkit-gradient(linear, left top, left bottom, from(#2b2b2b), color-stop(.1, #5c5c5c), to(#838383));
    background: -moz-linear-gradient(#2b2b2b, #5c5c5c 10%, #838383);
    background-color: #ccc;
    /* shadows and highlights */
    -webkit-box-shadow: 0 -1px 1px rgba(255, 255, 255, 0.5) inset;
    -moz-box-shadow: 0 -1px 1px rgba(255, 255, 255, 0.5) inset;
    box-shadow: 0 1px -1px rgba(255, 255, 255, 0.4) inset;
    /* border */
    border: 1px solid #000;
    border-top: 0;
}

.dropbutton:hover .dark { top: 48px }

.dark img { float: left }

.dark span {
    color: #e5e5e5;
    font-weight: normal;
}



- HTML :


<div class="dropbutton">
    <div class="purple">
            <img src="http://iwantaneff.in/t/arrow_black.png" />
    </div>
    <div class="yellow">
            <a href="#">Try it now!</a>
    </div>
    <div class="dark">
        <img src="http://iwantaneff.in/t/file_red.png" />
        FREE TRIAL <br />
        <span>30 days</span>
    </div>
</div>  



== Style 4 ==
- CSS :

.dropbutton {
    /* main class */
    height: 48px;
    width: 200px;
    font: bold 16px/48px arial;
    margin-bottom: 60px;
    position: relative;
}


/* ===============================
   ========= GREY STYLE ==========
   ===============================
   ================================================== */

.grey:first-child {
    /* styling for the left part */
    padding: 7px;
    float: left;
    width: 32px;
    height: 32px;
    /* border radius */
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
    /* backgorund */
    background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#c6c6c6));
    background: -moz-linear-gradient(#fbfbfb, #c6c6c6);
    background-color: #ccc;
    /* shadows and highlights */
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    /* border */
    border: 1px solid #bbb;
}

.dropbutton:hover .grey:first-child {
    background: -webkit-gradient(linear, left top, left bottom, from(#fdfdfd), to(#d5d5d5));
    background: -moz-linear-gradient(#fdfdfd, #d5d5d5);
    background-color: #ddd;
}

.dropbutton:active .grey:first-child {
    background: -webkit-gradient(linear, left top, left bottom, from(#d5d5d5), to(#fafafa));
    background: -moz-linear-gradient(#d5d5d5, #fafafa);
    background-color: #fbfbfb;
}

.grey {
    /* styling for the right part */
    height: 46px;
    width: 151px;
    float: left;
    text-align: center;
    /* border radius */
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    /* backgorund */
    background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#c6c6c6));
    background: -moz-linear-gradient(#fbfbfb, #c6c6c6);
    background-color: #ccc;
    /* shadows and highlights */
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    /* border */
    border: 1px solid #bbb;
    border-left: 0;
}

.dropbutton:hover .grey {
    background: -webkit-gradient(linear, left top, left bottom, from(#fdfdfd), to(#d5d5d5));
    background: -moz-linear-gradient(#fdfdfd, #d5d5d5);
    background-color: #ddd;
}

.dropbutton:active .grey {
    background: -webkit-gradient(linear, left top, left bottom, from(#d5d5d5), to(#fafafa));
    background: -moz-linear-gradient(#d5d5d5, #fafafa);
    background-color: #fbfbfb;
}

.grey  a {
    /* link styling */
    color: #333;
    font: bold 16px/32px arial, helvetica, sans-serif;
    text-decoration: none;
    text-shadow: 0 1px 0 #fff;
}

/* ====================================
   ====== LIGHT STYLE (DROPDOWN) ======
   ====================================
   ================================================== */

.light {
    width: 120px;
    height: 31px;
    padding: 7px 6px;
    margin-left: 58px;
    position: absolute;
    clear: both;
    z-index: -1;
    -webkit-transition: top .6s linear;
    /* text */
    color: #333;
    font: bold 12px/15px arial, helvetica, sans-serif;
    text-decoration: none;
    text-shadow: 0 1px 0 #fff;
    /* border radius */
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
    /* backgorund */
    background: -webkit-gradient(linear, left top, left bottom, from(#bababa), color-stop(.1, #e4e4e4), to(#f2f2f2));
    background: -moz-linear-gradient(#bababa, #e4e4e4 10%, #f2f2f2);
    background-color: #ccc;
    /* shadows and highlights */
    -webkit-box-shadow: 0 1px -1px rgba(255, 255, 255, 1) inset;
    -moz-box-shadow: 0 -1px 1px rgba(255, 255, 255, 1) inset;
    box-shadow: 0 1px -1px rgba(255, 255, 255, 0.8) inset;
    /* border */
    border: 1px solid #bbb;
    border-top: 0;
}

.dropbutton:hover .light { top: 48px }

.light img { float: left }

.light span {
    color: #555;
    font-weight: normal;
}


- HTML :


<div class="dropbutton">
    <div class="grey">
            <img src="http://iwantaneff.in/t/arrow.png" />
    </div>
    <div class="grey">
            <a href="#">Download now!</a>
    </div>
    <div class="light">
        <img src="http://iwantaneff.in/t/file_blue.png" />
        Updated!<br />
        <span>version 2.3.1</span>
    </div>
</div>  


== Style 5 ==
- CSS :

.dropbutton {
    /* main class */
    height: 48px;
    width: 200px;
    font: bold 16px/48px arial;
    margin-bottom: 60px;
    position: relative;
}


/* ===============================
   ========== RED STYLE ==========
   ===============================
   ================================================== */

.red:first-child {
    /* styling for the left part */
    padding: 7px;
    float: left;
    width: 32px;
    height: 32px;
    /* border radius */
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
    /* backgorund */
    background: -webkit-gradient(linear, left top, left bottom, from(#ff9782), to(#d83c22));
    background: -moz-linear-gradient(#ff9782, #d83c22);
    background-color: #d83c22;
    /* shadows and highlights */
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    /* border */
    border: 1px solid #c93f27;
}

.dropbutton:hover .red:first-child {
    background: -webkit-gradient(linear, left top, left bottom, from(#ffbdb0), to(#ee6048));
    background: -moz-linear-gradient(#ffbdb0, #ee6048);
    background-color: #ee6048;
}

.dropbutton:active .red:first-child {
    background: -webkit-gradient(linear, left top, left bottom, from(#e75138), to(#ff7053));
    background: -moz-linear-gradient(#e75138, #ff7053);
    background-color: #ff9782;
}

.red {
    /* styling for the right part */
    height: 46px;
    width: 151px;
    float: left;
    text-align: center;
    /* border radius */
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    /* backgorund */
    background: -webkit-gradient(linear, left top, left bottom, from(#ff9782), to(#d83c22));
    background: -moz-linear-gradient(#ff9782, #d83c22);
    background-color: #d83c22;
    /* shadows and highlights */
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
    /* border */
    border: 1px solid #c93f27;
    border-left: 0;
}

.dropbutton:hover .red {
    background: -webkit-gradient(linear, left top, left bottom, from(#ffbdb0), to(#ee6048));
    background: -moz-linear-gradient(#ffbdb0, #ee6048);
    background-color: #ee6048;
}

.dropbutton:active .red {
    background: -webkit-gradient(linear, left top, left bottom, from(#e75138), to(#ff7053));
    background: -moz-linear-gradient(#e75138, #ff7053);
    background-color: #ff9782;
}

.red  a {
    /* link styling */
    color: #fbfbfb;
    font: bold 16px/32px arial, helvetica, sans-serif;
    text-decoration: none;
    text-shadow: 0 1px 0 #c93f27;
}



/* ====================================
   ====== LIGHT STYLE (DROPDOWN) ======
   ====================================
   ================================================== */

.light {
    width: 120px;
    height: 31px;
    padding: 7px 6px;
    margin-left: 58px;
    position: absolute;
    clear: both;
    z-index: -1;
    -webkit-transition: top .6s linear;
    /* text */
    color: #333;
    font: bold 12px/15px arial, helvetica, sans-serif;
    text-decoration: none;
    text-shadow: 0 1px 0 #fff;
    /* border radius */
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
    /* backgorund */
    background: -webkit-gradient(linear, left top, left bottom, from(#bababa), color-stop(.1, #e4e4e4), to(#f2f2f2));
    background: -moz-linear-gradient(#bababa, #e4e4e4 10%, #f2f2f2);
    background-color: #ccc;
    /* shadows and highlights */
    -webkit-box-shadow: 0 1px -1px rgba(255, 255, 255, 1) inset;
    -moz-box-shadow: 0 -1px 1px rgba(255, 255, 255, 1) inset;
    box-shadow: 0 1px -1px rgba(255, 255, 255, 0.8) inset;
    /* border */
    border: 1px solid #bbb;
    border-top: 0;
}

.dropbutton:hover .light { top: 48px }

.light img { float: left }

.light span {
    color: #555;
    font-weight: normal;
}


- HTML :


<div class="dropbutton">
    <div class="red">
            <img src="http://iwantaneff.in/t/arrow_black.png" />
    </div>
    <div class="blue">
            <a href="#">Buy it now!</a>
    </div>
    <div class="light">
        <img src="http://iwantaneff.in/t/box.png" />
        Special Offer <br />
        <span>25,99$</span>
    </div>
</div>

Ket .
Sobat Tinggal Memilih Style Mana , dan Tinggal Menambahkan Link ! Mudahkan Kalo Sobat Kurang Ngerti Bertanyalah Agar Mengerti ! ^_^ Terima Kasih .

Wednesday, June 6, 2012

Ring Menu Dengan CSS


Mau Tau Ring Menu Itu Kayak Gimana ?? Banya Selengkapnya Woke ^_^


Contoh Ring Menu :


Udah Liatkan Contoh Ring Menu'nya ?? .. Kalo Udah Yok Liat Scriptnya :D

CSSnya :


html, body {
height: 100%;
}
ul , li {
  margin: 0;
  padding: 0;
}
.ringMenu {
  width: 100px;
  margin: 150px auto;
}
.ringMenu:hover {}
.ringMenu ul {
  list-style: none;
  position: relative;
  width: 100px;
  color: white;
}
.ringMenu ul a {
  color: white;
}
.ringMenu ul li {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.ringMenu ul li a {
  display: block;
  width: 100px;
  height: 100px;
  background: rgba(50,50,50,0.7);
  text-align: center;
  line-height: 100px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
}
.ringMenu ul li a:hover {
  background: rgba(230,150,20,0.7);
}
.ringMenu ul li:not(.main) {
  -webkit-transform: rotate(-180deg) scale(0);
  -moz-transform: rotate(-180deg) scale(0);
  -o-transform: rotate(-180deg) scale(0);
  transform: rotate(-180deg) scale(0);
  opacity: 0;
}
.ringMenu:hover ul li {
  -webkit-transform: rotate(0) scale(1);
  -moz-transform: rotate(0) scale(1);
  -o-transform: rotate(0) scale(1);
  transform: rotate(0) scale(1);
  opacity: 1;
}
.ringMenu ul li.top {
  -webkit-transform-origin: 50% 152px;
  -moz-transform-origin: 50% 152px;
  -o-transform-origin: 50% 152px;
  transform-origin: 50% 152px;
  position: absolute;
  top: -102px;
  left: 0;
}
.ringMenu ul li.bottom {
  -webkit-transform-origin: 50% -52px;
  -moz-transform-origin: 50% -52px;
  -o-transform-origin: 50% -52px;
  transform-origin: 50% -52px;
  position: absolute;
  bottom: -102px;
  left: 0;
}
.ringMenu ul li.right {
  -webkit-transform-origin: -52px 50%;
  -moz-transform-origin: -52px 50%;
  -o-transform-origin: -52px 50%;
  transform-origin: -52px 50%;
  position: absolute;
  top: 0px;
  right: -102px;
}
.ringMenu ul li.left {
  -webkit-transform-origin: 152px 50%;
  -moz-transform-origin: 152px 50%;
  -o-transform-origin: 152px 50%;
  transform-origin: 152px 50%;
  position: absolute;
  top: 0;
  left: -102px;
}
 Dan Yang Ini Kode HTMLnya Atau Bisa Dibilang Script Pemanggil CSSnya :



<div class="ringMenu">
<ul>
<li class="main"><a href="http://www.blogger.com/blogger.g?blogID=2996732288214607132#main">main</a></li>
<li class="top"><a href="http://www.blogger.com/blogger.g?blogID=2996732288214607132#top">top</a></li>
<li class="right"><a href="http://www.blogger.com/blogger.g?blogID=2996732288214607132#right">right</a></li>
<li class="bottom"><a href="http://www.blogger.com/blogger.g?blogID=2996732288214607132#bottom">bottom</a></li>
<li class="left"><a href="http://www.blogger.com/blogger.g?blogID=2996732288214607132#left">left</a></li>
</ul>
</div>

Simple Bukan ?? ^_^ ,, Ahahahaha Gampang Sekali Ya :D ... Buat Sobat Ada Yang Tidak Di Mengerti Gk ??? Kalo Ada Silahkan Bertanya :D ,,, Gunakanlah Kotak Komentar Untuk Bertanya Atau Mengomentari Artikel Ini :D ,, Karna Memang Itulah Gunanya Kotak Komentar :D.

Monday, June 4, 2012

Tooltip V-2 Dengan CSS


Tooltip V-2 Dengan  CSS

CSS :



a { position: relative; cursor: pointer; font: normal normal 85% sans-serif; color: white; text-shadow: #FFF 0 -1px; display: inline-block;
}
a > i { text-align: center; font: italic normal 90% Georgia, serif; line-height: 150%; color: black; text-shadow: white 0 1px; background: #DDD; background-clip: padding-box; box-shadow: 0 0px 2px rgba(0, 0, 0, 0.5); border: 5px solid #111; border: 5px solid rgba(0, 0, 0, 0.5); border-radius: 3px; position: absolute; width: 250px; left: 110%; margin-left:5px; padding: 10px 0;  bottom:0%; margin-bottom: -25px; visibility:hidden; opacity:0; -webkit-transition: opacity 0.5s linear; -moz-transition: opacity 0.5s linear; -ms-transition: opacity 0.5s linear; -o-transition: opacity 0.5s linear; transition: opacity 0.5s linear;}
a > i:before, a > i:after { content: ""; position: absolute;
border-bottom: 10px solid transparent; border-right:10px solid transparent; top: 50%; left: 0%; margin-left: -10px;}
a > i:before { border-top: 13px solid #111; border-bottom: 13px solid #111; 
border-right:9px solid #111; border-top: 10px solid transparent; border-left: 10px solid transparent; border-bottom:10px solid transparent;
margin-left: -22px; z-index: 1;
}
a > i:after{
border-top: 10px solid #DDD; border-bottom: 10px solid #DDD; 
border-right:10px solid #DDD; border-top: 10px solid transparent; border-left: 10px solid transparent; border-bottom:10px solid transparent;
margin-left: -18px; z-index: 1;}
a:hover > i { visibility: visible; opacity: 1;}



HTML :

<a><a href="#">Hover Me! <i>Ini Contoh Tooltip Versi2<br />Yang Menggunakan Script CSS<br />Dengan Arah Panah Ke Kiri</i></a>
Ket. 
  Sesuaikan Text Sadow dan Colour Textnya Dengan Background Blog Sobat Supaya Warna Tulisannya Tidak Menyatu Dengan Warna Background Blog Sobat
Example :

Hover Me! Ini Contoh Tooltip Versi2
Yang Menggunakan Script CSS
Dengan Arah Panah Ke Kiri