Home » » Custom Images Kwicks Menu With Jquery

Custom Images Kwicks Menu With Jquery

Caranya adalah sebagai berikut :

1. Login ke Akun Blogger anda masing-masing.
2. Klik Design or Rancangan, kemudian pilih Edit HTML
3. Centang (Expand Widget Template)
4. Untuk keamanan lebih baik kita (Download Template Lengkap)
5. Gunakan (Ctrl+F) or (Alt+E+F) untuk memudahkan pencarian
6. Cari kode ]]></b:skin> 
7. Dan Simpan kode berikut diatasnya :
/* ---------------
 Custom image kwicks with jquery
---------------------------------- */

.jimgMenu {
    position:relative;
    margin: 0px 0px 0px 50px;
    padding: 0px;
    width:475px;
    height:200px;
    overflow: hidden;
}

.jimgMenu ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: block;
    height: 200px;
    position: relative;
    }
  
.jimgMenu ul li {
    width: 95px;
    float: left;
    display: block;
    overflow: hidden;
}

.jimgMenu ul li a {
    text-indent: -1000px;
    background:#fff repeat scroll 0%;
    border-right: 2px solid #fff;
    cursor:pointer;
    display:block;
    overflow: hidden;
    height: 200px;
}

.jimgMenu ul li#landscapes a {
    background: url(https://lh3.googleusercontent.com/-yOYJDwkwZBQ/TYiQ6Sk5OWI/AAAAAAAAAZE/QZMf5409454/s1600/landscapes.jpg) repeat scroll 0%;
 
}

.jimgMenu ul li#people a {
    background: url(https://lh4.googleusercontent.com/-5TMg6GybLjk/TYiRG_DgMPI/AAAAAAAAAZM/GYC8rZtPXRg/s1600/people.jpg) repeat scroll 0%;

}

.jimgMenu ul li#nature a {
    background: url(https://lh4.googleusercontent.com/-MFglwAv-hdg/TYiRCaHuRzI/AAAAAAAAAZI/Sf1kP1SbHtQ/s1600/nature.jpg) repeat scroll 0%;
 
}

.jimgMenu ul li#abstract a {
    background: url(https://lh4.googleusercontent.com/-VAQciB4U8H8/TYiQykpZiTI/AAAAAAAAAZA/gGpVoIAhUss/s1600/abstract.jpg) repeat scroll 0%;

}

.jimgMenu ul li#urban a {
    background: url(https://lh3.googleusercontent.com/-wTnSGXAwSqo/TYiRN2Cjp2I/AAAAAAAAAZQ/RrKt_rA7r50/s1600/urban.jpg) repeat scroll 0%;
    border-right-style: none;
}

8. selanjutnya simpan script berikut tepat di atas kode  </head> :

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="http://kangdadang.googlecode.com/files/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="http://kangdadang.googlecode.com/files/jquery-easing-compatibility.1.2.pack.js"></script>
<script type="text/javascript" src="http://kangdadang.googlecode.com/files/jquery.kwicks-1.5.1.pack.js"></script>
<script type="text/javascript">
$().ready(function() {
    $('.jimgMenu ul').kwicks({max: 310, duration: 300, easing: 'easeOutQuad'});
    });
</script>
9. Save

10. dan yang terakhir cara penyimpanannya pada Html (sesuai keinginan anda tata letaknya):
<div class="jimgMenu">
  <ul class="jimgMenu">
    <li id="landscapes"><a href="#">Landscapes</a></li>
    <li id="people"><a href="#">People</a></li>
    <li id="nature"><a href="#">Nature</a></li>
    <li id="abstract"><a href="#">Abstract</a></li>
    <li id="urban"><a href="#">Urban</a></li>
  </ul>
</div>
Share
Related Post

0 comments:

Archives

Label


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 . .