Home » » Menu navigasi CSS Mac Dock Bottom With JQuery

Menu navigasi CSS Mac Dock Bottom 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 :
/* ---------------
Menu navigasi CSS Mac  Dock bottom with jQuery
---------------------------------- */
#dock2 {
    width: 100%;
    bottom: 0px;
    position: relative;
    left: 0px;
}
.dock-container2 {
    position: relative;
    height: 50px;
    background: url(https://lh3.googleusercontent.com/-fmqNzHvyjbU/TYk7WUmoQaI/AAAAAAAAAaI/rhdjOhBd3pk/s1600/dock-bg.gif);
    padding-left: 20px;
}
a.dock-item2 {
    display: block;
    font: bold 12px Arial, Helvetica, sans-serif;
    width: 40px;
    color: #000;
    bottom: 0px;
    position: absolute;
    text-align: center;
    text-decoration: none;
}
.dock-item2 span {
    display: none;
    padding-left: 20px;
}
.dock-item2 img {
    border: none;
    margin: 5px 10px 0px;
    width: 100%;
}

8. Selanjutnya simpan kode berikut diatas 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/interface.js"></script>


9. Simpan script berikut ditas kode </body> :
<script type="text/javascript">
  
    $(document).ready(
        function()
        {
            $('#dock2').Fisheye(
                {
                    maxWidth: 60,
                    items: 'a',
                    itemsText: 'span',
                    container: '.dock-container2',
                    itemWidth: 40,
                    proximity: 80,
                    alignment : 'left',
                    valign: 'bottom',
                    halign : 'center'
                }
            )
        }
    );

</script>
10. Save
11. Terakhir penempatan pada html, simpan sesuai keinginan baik itu pada edit html posting ataupun html/java script pada menu gadget :
<div class="dock" id="dock2">
  <div class="dock-container2">
  <a class="dock-item2" href="#"><img src="https://lh5.googleusercontent.com/-Tzvk7gEQayM/TYk7hMbzrBI/AAAAAAAAAaY/AKv8REtJ2Bo/s1600/home.png" alt="home" /></a>
  <a class="dock-item2" href="#"><img src="https://lh4.googleusercontent.com/-RW1CNT_pjaY/TYk7bcwN9QI/AAAAAAAAAaQ/vS59D1M5euI/s1600/email.png" alt="contact" /></a>
  <a class="dock-item2" href="#"><img src="https://lh4.googleusercontent.com/-wPaS5JWh1hM/TYk7pWPBenI/AAAAAAAAAao/B9yKqG2NaA0/s1600/portfolio.png" alt="portfolio" /></a>
  <a class="dock-item2" href="#"><img src="https://lh5.googleusercontent.com/-ZyW9SH0hcY0/TYk7n6DktqI/AAAAAAAAAak/T1B6jxb7Cgo/s1600/music.png" alt="music" /></a>
  <a class="dock-item2" href="#"><img src="https://lh6.googleusercontent.com/-uYoefPPwTQE/TYk7xytlqNI/AAAAAAAAAa0/ep3940GHq8c/s1600/video.png" alt="video" /></a>
  <a class="dock-item2" href="#"><img src="https://lh6.googleusercontent.com/-bwKSU_xFjIc/TYk7ewTZ9bI/AAAAAAAAAaU/yyOGMdInqfk/s1600/history.png" alt="history" /></a>
  <a class="dock-item2" href="#"><img src="https://lh3.googleusercontent.com/-cBGBsQkJ54I/TYk7UK9B-QI/AAAAAAAAAaE/qWc3jO0NVC8/s1600/calendar.png" alt="calendar" /></a>
  <a class="dock-item2" href="#"><img src="https://lh3.googleusercontent.com/-UovHAEdtbqA/TYk7rLHFe0I/AAAAAAAAAas/pjKjOKCE8Wk/s1600/rss.png" alt="rss" /></a>
  <a class="dock-item2" href="#"><img src="https://lh5.googleusercontent.com/-igrXkJUyY_E/TYk7uSY6uRI/AAAAAAAAAaw/5VPf85w8vjE/s1600/rss2.png" alt="rss" /></a>
  </div>
</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 . .