Menu navigasi Garagedoor Effect with jQuery
- Cara membuatnya :
- Login blogger
- Rancangan, Edit Html, Cari kode ]]></b:skin>
- 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;
}
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>:
dan simpan juga script ini diatas kode </body> :
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/AVvXsEgSAwAQS2iZ40I-JGtuI7gUhueYlzWnwI4jU5p2apDZJKkpKyz94-Foq2kLn0iIz_blszekoOBR3OT8LK1IcwyvDshHJxXVlzvpaGCGdwZp1VEAaIoi5CoKVvCBorP5hWAVHj8B5Exeg4k/s1600/garage5.jpg" />
<div class="mouse">
<img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSLn4WbIbMgeoTD-cJfPAucxqhs9E0q5zmjgX4bSKmuNocOvuuGXddYQfyIuO4TxjQHOmLoPR6ofN1HHD4vXJDPtaUJ9lkrv2gf2OBzIVOXBfgItPwzSOyYaD-noIYevPIwve1fNNtPi8/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/AVvXsEjRb4PhBio9dQD-rtmU96meiRGcBA09D0WNVxiWdP7rHgKN4Ui13n_3LvVtUkanXDbYbQEeM-PqSf8vScPs_xcawIFLfcSWlEJ8bHWNvHbPLJjv68be5rCJvXdmeda7RDtfkMPHeF76JaQ/s1600/garage2.jpg" />
<div class="mouse">
<img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSLn4WbIbMgeoTD-cJfPAucxqhs9E0q5zmjgX4bSKmuNocOvuuGXddYQfyIuO4TxjQHOmLoPR6ofN1HHD4vXJDPtaUJ9lkrv2gf2OBzIVOXBfgItPwzSOyYaD-noIYevPIwve1fNNtPi8/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/AVvXsEixf091ROoppQnKrmXGpe6jlQ8CHYk0VL0XQYfrXJljkvJA48c6nhgQSNDgXLZtHgToAntJSihzaryMUY7HgqiGrKBCbQrQgc_NX1hdl104cxBqNyrqz6ldo8VKsuX4lUGgljd5fMfMvas/s1600/garage3.jpg" />
<div class="mouse">
<img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSLn4WbIbMgeoTD-cJfPAucxqhs9E0q5zmjgX4bSKmuNocOvuuGXddYQfyIuO4TxjQHOmLoPR6ofN1HHD4vXJDPtaUJ9lkrv2gf2OBzIVOXBfgItPwzSOyYaD-noIYevPIwve1fNNtPi8/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/AVvXsEjGFcHLSYA3ypOKOQluS4sjTajgZTAiMjaiaKBb8RVroFrLnioUilb38uI2et5YYSRE03PrXvxxN9QaAM5lHWumFcR-uESZecgpxss7e8GsveywX4b3Nqa92r8SoflmI16t9fUhAKEPQ5w/s1600/garage4.jpg" /></div>
<div class="mouse" style="text-align: center;">
<img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSLn4WbIbMgeoTD-cJfPAucxqhs9E0q5zmjgX4bSKmuNocOvuuGXddYQfyIuO4TxjQHOmLoPR6ofN1HHD4vXJDPtaUJ9lkrv2gf2OBzIVOXBfgItPwzSOyYaD-noIYevPIwve1fNNtPi8/s1600/nothing.gif" /></div>
</div>
</div>
<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/AVvXsEgSAwAQS2iZ40I-JGtuI7gUhueYlzWnwI4jU5p2apDZJKkpKyz94-Foq2kLn0iIz_blszekoOBR3OT8LK1IcwyvDshHJxXVlzvpaGCGdwZp1VEAaIoi5CoKVvCBorP5hWAVHj8B5Exeg4k/s1600/garage5.jpg" />
<div class="mouse">
<img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSLn4WbIbMgeoTD-cJfPAucxqhs9E0q5zmjgX4bSKmuNocOvuuGXddYQfyIuO4TxjQHOmLoPR6ofN1HHD4vXJDPtaUJ9lkrv2gf2OBzIVOXBfgItPwzSOyYaD-noIYevPIwve1fNNtPi8/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/AVvXsEjRb4PhBio9dQD-rtmU96meiRGcBA09D0WNVxiWdP7rHgKN4Ui13n_3LvVtUkanXDbYbQEeM-PqSf8vScPs_xcawIFLfcSWlEJ8bHWNvHbPLJjv68be5rCJvXdmeda7RDtfkMPHeF76JaQ/s1600/garage2.jpg" />
<div class="mouse">
<img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSLn4WbIbMgeoTD-cJfPAucxqhs9E0q5zmjgX4bSKmuNocOvuuGXddYQfyIuO4TxjQHOmLoPR6ofN1HHD4vXJDPtaUJ9lkrv2gf2OBzIVOXBfgItPwzSOyYaD-noIYevPIwve1fNNtPi8/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/AVvXsEixf091ROoppQnKrmXGpe6jlQ8CHYk0VL0XQYfrXJljkvJA48c6nhgQSNDgXLZtHgToAntJSihzaryMUY7HgqiGrKBCbQrQgc_NX1hdl104cxBqNyrqz6ldo8VKsuX4lUGgljd5fMfMvas/s1600/garage3.jpg" />
<div class="mouse">
<img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSLn4WbIbMgeoTD-cJfPAucxqhs9E0q5zmjgX4bSKmuNocOvuuGXddYQfyIuO4TxjQHOmLoPR6ofN1HHD4vXJDPtaUJ9lkrv2gf2OBzIVOXBfgItPwzSOyYaD-noIYevPIwve1fNNtPi8/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/AVvXsEjGFcHLSYA3ypOKOQluS4sjTajgZTAiMjaiaKBb8RVroFrLnioUilb38uI2et5YYSRE03PrXvxxN9QaAM5lHWumFcR-uESZecgpxss7e8GsveywX4b3Nqa92r8SoflmI16t9fUhAKEPQ5w/s1600/garage4.jpg" /></div>
<div class="mouse" style="text-align: center;">
<img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSLn4WbIbMgeoTD-cJfPAucxqhs9E0q5zmjgX4bSKmuNocOvuuGXddYQfyIuO4TxjQHOmLoPR6ofN1HHD4vXJDPtaUJ9lkrv2gf2OBzIVOXBfgItPwzSOyYaD-noIYevPIwve1fNNtPi8/s1600/nothing.gif" /></div>
</div>
</div>
Selesai.......
Show
0 Comments
prev
next