.::иίмвuźźεя вļ∆¢к::. .::↗ ςσммύπίτγ ↖::.. Diberdayakan oleh Blogger.

Minggu, 03 April 2011

Menu navigasi Garagedoor Effect with jQuery

    Cara membuatnya :
  1. Login blogger
  2. Rancangan, Edit Html, Cari kode ]]></b:skin>
  3. Dan Simpan kode berikut diatasnya : 

/* ---------------
Menu navigasi Garagedor with jQuery
---------------------------------- */
.garagedoor a:active, .under_header a:active, .header a:focus, .under_header a:focus {
    outline: none; -moz-outline-style: none;
}

.garagedoor img {
    border: 0px; display: block;  
}

.item .mouse {
    height: 80px;
    width: 100px;
  
    margin:0;padding:0;border:0;display:block;left:0;position:absolute;cursor:pointer;top:0;
}

.item .mouse img {
    height: 80px;
    width: 100px;
  
    margin:0;padding:0;
}

.item {
    height: 80px;
    width: 100px;
    color: black;
  
    overflow:hidden;display:block;overflow:hidden;position:relative;margin:0;padding:0;float:left;background-repeat:no-repeat;text-decoration: none;
}

.item .underlay {
    padding: 10px;
    padding-top: 30px;
    color: #000;
    background: #fff;
        height: 80px;
    position:absolute;left:0px;top:0px;
}

.item .overlay {
    height: 80px;
    width: 100px;
  
    margin:0;padding:0;border:0;left:0;position:absolute;top:0;
}


  • Selanjutnya simpan script berikut diatas kode </head>:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<script src="http://kangdadang.googlecode.com/files/garagedoorjQuery.js" type="text/javascript"></script>


  • dan simpan juga script ini diatas kode </body> :
<script type='text/javascript'>
GarageDoor.scrollY = -55;
GarageDoor.setBindings(&#39;garagedoor&#39;);
</script>
 
  • Cara pemanggilannya pada Html :
<div class="garagedoor" id="garagedoor">
<div style="text-align: center;">

</div>
<div class="item" style="text-align: center;" title="#">
<div class="underlay">
Read my blog entries</div>
<img alt="" class="overlay" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigKaEYLmFPtUNfvgg8GWJpTTwnMLWUTrvRoDMUl1gDunrQRzFRKcmclorlP9VDnt4EvIxTT2eXQ4VzLnFyA_WLkz3JYIx93-y6PBPBNUiNrvtpRNoxnjkxRB6ygq-txS6Jc93YFZC7udA/s1600/garage5.jpg" />
<div class="mouse">
<img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjojJNx6-yG9MGuIbxH5ZuCrFzXsIlbsQ5-55_fTrQnvESlhKDugS1bV-l1DTV_ft91-0-sG-mJOzudcgM5fNyM9P9vwnR2a6W2U11WRY9PKZHH6gIudbBoy_umnivDWaB8fv_lNb7gEw/s1600/nothing.gif" /></div>
</div>
<div class="item" style="text-align: center;" title="#">

<div class="underlay">
information about me</div>
<img alt="" class="overlay" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN4gFyfZ6p8ZR5tiphy93EUkwkmWkyaOafUIPU5IqmWl4-vXU5s0XuE-MGjdBg7YgulRsmCeb3NMHDKAmSyVN6B3ZlP8IiPR9_NCuvaE_xSM5LPOaoMbT5L02GYsOcn_rx7J5lqDAtEV4/s1600/garage2.jpg" />
<div class="mouse">
<img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjojJNx6-yG9MGuIbxH5ZuCrFzXsIlbsQ5-55_fTrQnvESlhKDugS1bV-l1DTV_ft91-0-sG-mJOzudcgM5fNyM9P9vwnR2a6W2U11WRY9PKZHH6gIudbBoy_umnivDWaB8fv_lNb7gEw/s1600/nothing.gif" /></div>
</div>
<div class="item" style="text-align: center;" title="#">
<div class="underlay">
People that rock</div>
<img alt="" class="overlay" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH8W0wDHwN2BUB9TgBUcCmB3iR_e8v9AHkp-fFTqcFTYuKlfxwH3thd0yBwEJPGXWsm0Xi5WqLnXMt_crcyKHPJrErTHIGPWLxO0FAeDGT6zJh7i1Q705j8j5AGCseLGypq7op2WmMUvY/s1600/garage3.jpg" />
<div class="mouse">
<img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjojJNx6-yG9MGuIbxH5ZuCrFzXsIlbsQ5-55_fTrQnvESlhKDugS1bV-l1DTV_ft91-0-sG-mJOzudcgM5fNyM9P9vwnR2a6W2U11WRY9PKZHH6gIudbBoy_umnivDWaB8fv_lNb7gEw/s1600/nothing.gif" /></div>
</div>
<div class="item" title="#">
<div class="underlay" style="text-align: center;">
Send me a message.</div>
<div style="text-align: center;">
<img alt="" class="overlay" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8z7EGClza3HYvh1-rsePU1h5UONhVN3g_f1ECuidqGdPLlTyVYU_qFNQzzwvKeBGc7PlidcQu6E990OfG0Te1k5LasaIAiPLQSCZKpWwZc3Z13dCk8ZTM9AqA-LNoWkxf5UikfyFLeYg/s1600/garage4.jpg" /></div>
<div class="mouse" style="text-align: center;">
<img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjojJNx6-yG9MGuIbxH5ZuCrFzXsIlbsQ5-55_fTrQnvESlhKDugS1bV-l1DTV_ft91-0-sG-mJOzudcgM5fNyM9P9vwnR2a6W2U11WRY9PKZHH6gIudbBoy_umnivDWaB8fv_lNb7gEw/s1600/nothing.gif" /></div>

</div>
</div>

  • Selesai.......

Komentar :

ada 0 komentar ke “Menu navigasi Garagedoor Effect with jQuery”

Posting Komentar

Emoticon

:)) :)] ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} ~x( :-t b-( :-L x( =))
 

Siga-me

This Blog is proudly powered by Blogger.com | Template by Angga Leo Putra