How To Add Slide Out Navigation Menu In Blogger
- Blogger Dashboard --> Design --> Edit HTML သြားပါ။
- မိမိရဲ႕Template ကို Backup လပ္ထားေပးပါ။
- Expand Widget Templates မွာ အမွန္မွတ္ေလးေပးလိုက္
- ေအာက္မွာေပးထားတဲ့ ကုဒ္ေလးကို [ctrl+F] အကူနဲ႔ ရွိလို္ကပါ။
- ]]></b:skin>
- ေတြျပီဆိုရင္ေအာက္မွာေပးထားကုဒ္ကို ]]></b:skin> ရဲ႕အေပၚက ထည့္လိုက္ပါ
ul#navigation {position: fixed;
margin: 0px;
padding: 0px;
top: 10px;
left: 0px;
list-style: none;
z-index:9999;
}
ul#navigation li {
width: 100px;
}
ul#navigation li a {
display: block;
margin-left: -2px;
width: 100px;
height: 70px;
background-color:#CFCFCF;
background-repeat:no-repeat;
background-position:center center;
border:1px solid #AFAFAF;
-moz-border-radius:0px 10px 10px 0px;
-webkit-border-bottom-right-radius: 10px;
-webkit-border-top-right-radius: 10px;
-khtml-border-bottom-right-radius: 10px;
-khtml-border-top-right-radius: 10px;
/*-moz-box-shadow: 0px 4px 3px #000;
-webkit-box-shadow: 0px 4px 3px #000;
*/
opacity: 0.6;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=60);
}
ul#navigation .home a{
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzvVSk4qCCOPG72dP4nt910AvuRURkYR0CLdlTRwVvemN0RoCnBOVRxF7va835HK4wXqeAgwo_5WJiAQITwvjMGhY3Mn5KUmKoCCtaYdMXhRss3k2GqXPmDbeQSUDBY0YRmaVP13goah8/s1600/home.png);
}
ul#navigation .about a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFgwmFJ7ke07maH3UImA2KIlAbaThuyJsr71Rhzru1RXd8rSjmGpC6pIHBqRVm8GBbndPBSFexcgO4DXhBSVPKzubZB8d9BuNjfN2V9-gUOIi_wDdhBTJq1YhidNRNMfozToRMHGGu8Hs/s1600/idcard.png);
}
ul#navigation .search a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyXoCYrBe53TrMqWs0JiZhvMgkv1FH2mBrbdSWos_BwfJzpsl_g2u7GKwDcTRwlGSfK6fgrNHcBvs-41T2CEB8P9v1TyRon7wfp-OPHrKgFFcXsCDxn6Ad-6bx_r6s0FO2796k2A6RLj4/s1600/search.png);
}
ul#navigation .podcasts a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGFcsPKnvTfs2IhsNLHvbxZjbWK3r5TADTzBBMiZmcxsgfurXVC4v3zGLRadqPpANMdLz3tSgNLFJw1z426qbNERbHjKTojJTBOfTdoNhTfvj1LiL-3A3ILt4BwnAAXL4kTxSsZBp69wI/s1600/ipod.png);
}
ul#navigation .rssfeed a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyJTQSdT5IGzL055D_7UpHWulOAiqwkXFP5IaYrkAfSfR4b6XU8cfj8sEi_z-o8XfKl4x5J2eCNnmV5Os3TEL0PkpfnndFVUg62abqAu_flxX3_J6PNHPES0f_219yOhvnKHwu2dWJ0ZQ/s1600/rss.png);
}
ul#navigation .photos a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2kbIlMsm6gF0lLLhM-jR1BnQkvmQJz84PowGoVL8AMloxZvXrBCWJdzs7S-TXjG0Mrd7jPMD4yTuole0t2XIXS52IY6vjZhwbrYhLHg5D5ysaAkSiN9z_WVM6Vn90v2i90Al2vLBnkRo/s1600/camera.png);
}
ul#navigation .contact a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIbU1uDWHWoeXoBDON4wEkdC_vdjXolNC8jB-vxiIJYdEB0_G59ceGx2jyKBTZOrayqYx1c4U8zptD3MzLsxh0nhXcLtbPu2WYCg1meTYMLFU23x2BmUobXrQZ98mwxKwCSWVzFuyD64M/s1600/mail.png);
}
- မိမိ Template Preview နဲ႔ ၾကည့္လိုက္ပါ Error မတက္ရင္ မိမိ၏တိန္းပလိတ္ကို Save လိုက္ပါ။
မွာ ထည့္လိုက္ပါ။
<script type="text/javascript">
$(function() {
$('#navigation a').stop().animate({'marginLeft':'-85px'},1000);
$('#navigation > li').hover(
function () {
$('a',$(this)).stop().animate({'marginLeft':'-2px'},200);
},
function () {
$('a',$(this)).stop().animate({'marginLeft':'-85px'},200);
}
);
});
</script>
</head>
<body>
<p style="display:none;"> Navigation Menu by<a href="http://www.latesthack.com">Latest Hack</a></p>
<ul id="navigation">
<li class="home"><a href="" title="မူလစာမ်က္ႏွာ"></a></li>
<li class="about"><a href="linlkထည့္ပါ" title="ေခါင္းစဥ္ထည့္ပါ"></a></li>
<li class="search"><a href="linlkထည့္ပါ" title="ေခါင္းစဥ္ထည့္ပါ"></a></li>
<li class="photos"><a href="linlkထည့္ပါ" title="ေခါင္းစဥ္ထည့္ပါ"></a></li>
<li class="rssfeed"><a href="linlkထည့္ပါ" title="ေခါင္းစဥ္ထည့္ပါ"></a></li>
<li class="podcasts"><a href="linlkထည့္ပါ" title="ေခါင္းစဥ္ထည့္ပါ"></a></li>
<li class="contact"><a href="linlkထည့္ပါ" title="ေခါင္းစဥ္ထည့္ပါ"></a></li>
</ul>
ul#navigation .home a{
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzvVSk4qCCOPG72dP4nt910AvuRURkYR0CLdlTRwVvemN0RoCnBOVRxF7va835HK4wXqeAgwo_5WJiAQITwvjMGhY3Mn5KUmKoCCtaYdMXhRss3k2GqXPmDbeQSUDBY0YRmaVP13goah8/s1600/home.png);
}
ul#navigation .about a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFgwmFJ7ke07maH3UImA2KIlAbaThuyJsr71Rhzru1RXd8rSjmGpC6pIHBqRVm8GBbndPBSFexcgO4DXhBSVPKzubZB8d9BuNjfN2V9-gUOIi_wDdhBTJq1YhidNRNMfozToRMHGGu8Hs/s1600/idcard.png);
}
ul#navigation .search a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyXoCYrBe53TrMqWs0JiZhvMgkv1FH2mBrbdSWos_BwfJzpsl_g2u7GKwDcTRwlGSfK6fgrNHcBvs-41T2CEB8P9v1TyRon7wfp-OPHrKgFFcXsCDxn6Ad-6bx_r6s0FO2796k2A6RLj4/s1600/search.png);
}
ul#navigation .podcasts a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGFcsPKnvTfs2IhsNLHvbxZjbWK3r5TADTzBBMiZmcxsgfurXVC4v3zGLRadqPpANMdLz3tSgNLFJw1z426qbNERbHjKTojJTBOfTdoNhTfvj1LiL-3A3ILt4BwnAAXL4kTxSsZBp69wI/s1600/ipod.png);
}
ul#navigation .rssfeed a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyJTQSdT5IGzL055D_7UpHWulOAiqwkXFP5IaYrkAfSfR4b6XU8cfj8sEi_z-o8XfKl4x5J2eCNnmV5Os3TEL0PkpfnndFVUg62abqAu_flxX3_J6PNHPES0f_219yOhvnKHwu2dWJ0ZQ/s1600/rss.png);
}
ul#navigation .photos a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2kbIlMsm6gF0lLLhM-jR1BnQkvmQJz84PowGoVL8AMloxZvXrBCWJdzs7S-TXjG0Mrd7jPMD4yTuole0t2XIXS52IY6vjZhwbrYhLHg5D5ysaAkSiN9z_WVM6Vn90v2i90Al2vLBnkRo/s1600/camera.png);
}
ul#navigation .contact a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIbU1uDWHWoeXoBDON4wEkdC_vdjXolNC8jB-vxiIJYdEB0_G59ceGx2jyKBTZOrayqYx1c4U8zptD3MzLsxh0nhXcLtbPu2WYCg1meTYMLFU23x2BmUobXrQZ98mwxKwCSWVzFuyD64M/s1600/mail.png);
}
အနီေရာင္ နဲ႔ ျပထားတဲ့ ပံုေတြကို အကိုယ္ပိုင္ image URL နဲ႔ အစားထိုး အသံုးျပဳပါ။
နမူနာ အေနနဲ႔ က်ေနာ္ ဘေလာ့ရဲ႕ ဘယ္ဘက္မွာ menu ေလးကို ၾကည့္ႏိုင္ပါတယ္။
Labels: blogging, ဘေလာ့နည္းပညာ
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home