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(http://4.bp.blogspot.com/-ZWHmqKVWw-4/T5adP49ZqUI/AAAAAAAAA4E/QA-Z-pCsoME/s1600/home.png);
}
ul#navigation .about a      {
    background-image: url(http://2.bp.blogspot.com/-7xv_kHaMWDk/T5adQpDSE0I/AAAAAAAAA4M/OhNkgLEnbvw/s1600/idcard.png);
}
ul#navigation .search a      {
    background-image: url(http://4.bp.blogspot.com/-yMVKk5O3uWk/T5adUYsvmXI/AAAAAAAAA4s/fUoCnxHVkIk/s1600/search.png);
}
ul#navigation .podcasts a      {
    background-image: url(http://2.bp.blogspot.com/-xel5YPcktJg/T5adRKXclnI/AAAAAAAAA4Y/I_o3QZZn1wA/s1600/ipod.png);
}
ul#navigation .rssfeed a   {
    background-image: url(http://1.bp.blogspot.com/-MndXeDPjRL8/T5adTrza4vI/AAAAAAAAA4k/UCDeLmrgnZE/s1600/rss.png);
}
ul#navigation .photos a     {
    background-image: url(http://3.bp.blogspot.com/-LnoSTyruZKM/T5adPPq4FqI/AAAAAAAAA4A/HFNnyG80CBU/s1600/camera.png);
}
ul#navigation .contact a    {
    background-image: url(http://3.bp.blogspot.com/-3Y6wAMo7Exc/T5adSUyD5bI/AAAAAAAAA4g/TVK9INPVWM0/s1600/mail.png);
}


  • မိမိ Template Preview နဲ႔ ၾကည့္လိုက္ပါ Error မတက္ရင္ မိမိ၏တိန္းပလိတ္ကို Save လိုက္ပါ။

ေအာက္မွာေပးထားတဲ့ ကုဒ္ေတြကို Page Elements က Add a Gadget ကို HTML/JavaScript Add
မွာ ထည့္လိုက္ပါ။
<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>  

  • template Save လိုက္ပါ။ လုပ္ေဆာင္ခ်က္ျပီးဆံုးသြားပါျပီ။

  • ျပင္ဆင္ရန္။   ။ျမန္မာေရးထားတဲ့ ေနရာေတြကို မိမိ စိတ္ၾကိဳက္ ျပင္ဆင္ ႏိုင္ပါတယ္

  • ျပင္ဆင္ရန္။  ။
    ul#navigation .home a{
        background-image: url(http://4.bp.blogspot.com/-ZWHmqKVWw-4/T5adP49ZqUI/AAAAAAAAA4E/QA-Z-pCsoME/s1600/home.png);
    }
    ul#navigation .about a      {
        background-image: url(http://2.bp.blogspot.com/-7xv_kHaMWDk/T5adQpDSE0I/AAAAAAAAA4M/OhNkgLEnbvw/s1600/idcard.png);
    }
    ul#navigation .search a      {
        background-image: url(http://4.bp.blogspot.com/-yMVKk5O3uWk/T5adUYsvmXI/AAAAAAAAA4s/fUoCnxHVkIk/s1600/search.png);
    }
    ul#navigation .podcasts a      {
        background-image: url(http://2.bp.blogspot.com/-xel5YPcktJg/T5adRKXclnI/AAAAAAAAA4Y/I_o3QZZn1wA/s1600/ipod.png);
    }
    ul#navigation .rssfeed a   {
        background-image: url(http://1.bp.blogspot.com/-MndXeDPjRL8/T5adTrza4vI/AAAAAAAAA4k/UCDeLmrgnZE/s1600/rss.png);
    }
    ul#navigation .photos a     {
        background-image: url(http://3.bp.blogspot.com/-LnoSTyruZKM/T5adPPq4FqI/AAAAAAAAA4A/HFNnyG80CBU/s1600/camera.png);
    }
    ul#navigation .contact a    {
        background-image: url(http://3.bp.blogspot.com/-3Y6wAMo7Exc/T5adSUyD5bI/AAAAAAAAA4g/TVK9INPVWM0/s1600/mail.png);
    }

    အနီေရာင္ နဲ႔ ျပထားတဲ့ ပံုေတြကို အကိုယ္ပိုင္ image URL နဲ႔ အစားထိုး အသံုးျပဳပါ။
     နမူနာ အေနနဲ႔ က်ေနာ္ ဘေလာ့ရဲ႕ ဘယ္ဘက္မွာ menu ေလးကို ၾကည့္ႏိုင္ပါတယ္။








  • ထင္ျမင္ခ်က္: