Tuesday, January 15, 2013

Blog မ်ားအတြက္ Animated Drop Down Vertical Menu Bar


Blog မ်ားအတြက္ Vertical menu bar အသစ္ေလးတင္ေပးလိုက္ပါတယ္။ဒီ menu
bar ေလးက Title ကို pointer နဲ႕ထိတာနဲ႕ link ေလးေတြေအာက္ကိုဆင္းလာမွာပါ။
ႏွစ္သက္သူမ်ားအသံုးျပဳႏိုင္ေအာင္တင္ေပးလုိက္ပါတယ္။

အရင္ဆံုး Blog ထဲ့ကို Log in ၀င္ပါ။ပံုမွာျပထားတဲ့အတိုင္း Template ကိုႏိုပ္ေပးပါ။

Edit HTML ကိုႏိုပ္ျပီး Ctrl + F အကူအညီနဲ႕  ]]></b:skin> ကိုရွာပါ၊ေတြ႕ျပီဆို
ရင္  ]]></b:skin> ရဲ႕ အေပၚမွာေအာက္ပါ Code ေတြကူးထဲ့ျပီး Save Template
ကိုႏိုပ္ပါ။

/* The CSS Code for the menu starts here bloggertrix.com */
.container {
    background: url("../images/robot.png") no-repeat scroll 90px 35px rgba(255, 255, 255, 0.6);
    border: 1px solid #FFFFFF;
    height:400px;
    margin:20px auto;
    padding:10px;
    position:relative;
    width:715px;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
}
#nav {
    border:3px solid #3e4547;

    box-shadow:2px 2px 8px #000000;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
}
#nav, #nav ul {
    list-style:none;
    padding:0;
    width:200px;
}
#nav ul {
    position:relative;
    z-index:-1;
}
#nav li {
    position:relative;
    z-index:100;
}
#nav ul li {
    margin-top:-23px;

    -moz-transition:  0.4s linear 0.4s;
    -ms-transition: 0.4s linear 0.4s;
    -o-transition: 0.4s linear 0.4s;
    -webkit-transition: 0.4s linear 0.4s;
    transition: 0.4s linear 0.4s;
}
#nav li a {
    background-color:#d4d5d8;
    color:#000;
    display:block;
    font-size:12px;
    font-weight:bold;
    line-height:28px;
    outline:0;
    padding-left:15px;
    text-decoration:none;
}
#nav li a.sub {
    background:#d4d5d8 url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiWkkSwm8CJITbUL7ttK6s9xZE_yv6vYnzkOb9MGjMQNbBv62foIzwg7AQFSPzC5ycjOU4TN6OmamDaINIH-MqljQjTI3HkNwA8saZF9yoYFNGOQB9W_8uPKU0rF-o-7NDZhYc32bwF4oN/s1600/down.gif") no-repeat;
}
#nav li a + img {
    cursor:pointer;
    display:none;
    height:28px;
    left:0;
    position:absolute;
    top:0;
    width:200px;
}
#nav li a img {
    border-width:0px;
    height:24px;
    line-height:28px;
    margin-right:8px;
    vertical-align:middle;
    width:24px;
}
#nav li a:hover {
    background-color:#bcbdc1;
}
#nav ul li a {
    background-color:#eee;
    border-bottom:1px solid #ccc;
    color:#000;
    font-size:11px;
    line-height:22px;
}
#nav ul li a:hover {
    background-color:#ddd;
    color:#444;
}
#nav ul li a img {
    background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsH3qwn1ZZp7sLP0rJmSrKc9aM9_HuRg9HdtPmgTerUpHQjL2CA2UVjlL39uMfmSJbWzeCnF1Pk7Ui7zf3sQbiRriDE1yc1agWUXZkgNZAo0H910X48WOhDEuxM6hyphenhyphen_E-6o3mxEfZaD1Sh/s1600/bulb.png") no-repeat;
    border-width:0px;
    height:16px;
    line-height:22px;
    margin-right:5px;
    vertical-align:middle;
    width:16px;
}
#nav ul li:nth-child(odd) a img {
    background:url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipoaQzd6z2sqxK4hYxRDAnAVb7uI35IomWxoxIT7MKZCzpRTTjeuaOFMV7bQ-HVX7JOXSCFvdB624ZpSDBIMQhWVibwBYrgCCq2d4Gjn6W7aiwRmI32R7ydumT_Z-ir37xizT7WXWBXygA/s1600/bulb2.png") no-repeat;
}
#nav a.sub:focus {
    background:#bcbdc1;
    outline:0;
}
#nav a:focus ~ ul li {
    margin-top:0;
    -moz-transition:  0.4s linear;
    -ms-transition: 0.4s linear;
    -o-transition: 0.4s linears;
    -webkit-transition: 0.4s linears;
    transition: 0.4s linear;
}
#nav a:focus + img, #nav a:active + img {
    display:block;
}
#nav a.sub:active {
    background:#bcbdc1;
    outline:0;
}
#nav a:active ~ ul li {
    margin-top:0;
}
#nav ul:hover li {
    margin-top:0;
}

ပံုမွာျပထားတဲ့အတိုင္း Layout ကိုႏိုိပ္ပါ


Add Gadget ကိုႏိုပ္ျပီး HTML/Javascript ကိုေရြးခ်ယ္ပါ
ေအာက္ပါ Code မ်ားကိုကူးထဲ့ပါ
<div class="container">

            <ul id="nav">
                <li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9185d-VXxRHn91NwCCHL4WsuZxonjoewEq_40XLZTkXeWnmVooUNNbrhfkndLfBf6b6L0SLoknrmwAG5aZNlY_1fKO8Yu4CLK70fisyOpVJM4wiChrlNSP3tUpLLzMbWQdK7WT8HAdVNY/s1600/arrow.png" /> Home</a></li>
                <li><a href="#" class="sub" tabindex="1"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9185d-VXxRHn91NwCCHL4WsuZxonjoewEq_40XLZTkXeWnmVooUNNbrhfkndLfBf6b6L0SLoknrmwAG5aZNlY_1fKO8Yu4CLK70fisyOpVJM4wiChrlNSP3tUpLLzMbWQdK7WT8HAdVNY/s1600/arrow.png" />HTML</a><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUvu5Fbd7z7mguFR2nTBhmyoIPH1gLKM7O21JJD96NUQ9-PoOQYHGoLx8dPxrFfzfjgI7RRod76CHz986tsH8MzsfVoaY_RNx9cP3yp_2eudh3QsUdpktFruCvsSCeYN3V1BbfoE1v1hck/s1600/up.gif" alt="" />
                    <ul>
                        <li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVckDz5shwCoUnkwMYdUriIrfDFlutXR73atjr-ivWMvUdgiUOuXMbqh1zavL59CL_cFPDsAl_I8med1O5I6uBVc-hrKdxz9yx2xTJNLrACAKYZEDU-qhSuoik6g8k1wf-2qymsriaUhdH/s1600/empty.gif" />Link 1</a></li>
                        <li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVckDz5shwCoUnkwMYdUriIrfDFlutXR73atjr-ivWMvUdgiUOuXMbqh1zavL59CL_cFPDsAl_I8med1O5I6uBVc-hrKdxz9yx2xTJNLrACAKYZEDU-qhSuoik6g8k1wf-2qymsriaUhdH/s1600/empty.gif" />Link 2</a></li>
                        <li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVckDz5shwCoUnkwMYdUriIrfDFlutXR73atjr-ivWMvUdgiUOuXMbqh1zavL59CL_cFPDsAl_I8med1O5I6uBVc-hrKdxz9yx2xTJNLrACAKYZEDU-qhSuoik6g8k1wf-2qymsriaUhdH/s1600/empty.gif" />Link 3</a></li>
                        <li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVckDz5shwCoUnkwMYdUriIrfDFlutXR73atjr-ivWMvUdgiUOuXMbqh1zavL59CL_cFPDsAl_I8med1O5I6uBVc-hrKdxz9yx2xTJNLrACAKYZEDU-qhSuoik6g8k1wf-2qymsriaUhdH/s1600/empty.gif" />Link 4</a></li>
                        <li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVckDz5shwCoUnkwMYdUriIrfDFlutXR73atjr-ivWMvUdgiUOuXMbqh1zavL59CL_cFPDsAl_I8med1O5I6uBVc-hrKdxz9yx2xTJNLrACAKYZEDU-qhSuoik6g8k1wf-2qymsriaUhdH/s1600/empty.gif" />Link 5</a></li>
                    </ul>
                </li>
                <li><a href="#" class="sub" tabindex="1"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9185d-VXxRHn91NwCCHL4WsuZxonjoewEq_40XLZTkXeWnmVooUNNbrhfkndLfBf6b6L0SLoknrmwAG5aZNlY_1fKO8Yu4CLK70fisyOpVJM4wiChrlNSP3tUpLLzMbWQdK7WT8HAdVNY/s1600/arrow.png" />jQuery</a><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVckDz5shwCoUnkwMYdUriIrfDFlutXR73atjr-ivWMvUdgiUOuXMbqh1zavL59CL_cFPDsAl_I8med1O5I6uBVc-hrKdxz9yx2xTJNLrACAKYZEDU-qhSuoik6g8k1wf-2qymsriaUhdH/s1600/empty.gif" alt="" />
                    <ul>
                        <li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVckDz5shwCoUnkwMYdUriIrfDFlutXR73atjr-ivWMvUdgiUOuXMbqh1zavL59CL_cFPDsAl_I8med1O5I6uBVc-hrKdxz9yx2xTJNLrACAKYZEDU-qhSuoik6g8k1wf-2qymsriaUhdH/s1600/empty.gif" />Link 6</a></li>
                        <li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVckDz5shwCoUnkwMYdUriIrfDFlutXR73atjr-ivWMvUdgiUOuXMbqh1zavL59CL_cFPDsAl_I8med1O5I6uBVc-hrKdxz9yx2xTJNLrACAKYZEDU-qhSuoik6g8k1wf-2qymsriaUhdH/s1600/empty.gif" />Link 7</a></li>
                        <li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVckDz5shwCoUnkwMYdUriIrfDFlutXR73atjr-ivWMvUdgiUOuXMbqh1zavL59CL_cFPDsAl_I8med1O5I6uBVc-hrKdxz9yx2xTJNLrACAKYZEDU-qhSuoik6g8k1wf-2qymsriaUhdH/s1600/empty.gif" />Link 8</a></li>
                        <li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVckDz5shwCoUnkwMYdUriIrfDFlutXR73atjr-ivWMvUdgiUOuXMbqh1zavL59CL_cFPDsAl_I8med1O5I6uBVc-hrKdxz9yx2xTJNLrACAKYZEDU-qhSuoik6g8k1wf-2qymsriaUhdH/s1600/empty.gif" />Link 9</a></li>
                        <li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVckDz5shwCoUnkwMYdUriIrfDFlutXR73atjr-ivWMvUdgiUOuXMbqh1zavL59CL_cFPDsAl_I8med1O5I6uBVc-hrKdxz9yx2xTJNLrACAKYZEDU-qhSuoik6g8k1wf-2qymsriaUhdH/s1600/empty.gif" />Link 10</a></li>
                    </ul>
                </li>
                <li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9185d-VXxRHn91NwCCHL4WsuZxonjoewEq_40XLZTkXeWnmVooUNNbrhfkndLfBf6b6L0SLoknrmwAG5aZNlY_1fKO8Yu4CLK70fisyOpVJM4wiChrlNSP3tUpLLzMbWQdK7WT8HAdVNY/s1600/arrow.png" />PHP</a></li>
                <li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9185d-VXxRHn91NwCCHL4WsuZxonjoewEq_40XLZTkXeWnmVooUNNbrhfkndLfBf6b6L0SLoknrmwAG5aZNlY_1fKO8Yu4CLK70fisyOpVJM4wiChrlNSP3tUpLLzMbWQdK7WT8HAdVNY/s1600/arrow.png" />MySQL</a></li>
                <li><a href="http://www.bloggertrix.com/"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9185d-VXxRHn91NwCCHL4WsuZxonjoewEq_40XLZTkXeWnmVooUNNbrhfkndLfBf6b6L0SLoknrmwAG5aZNlY_1fKO8Yu4CLK70fisyOpVJM4wiChrlNSP3tUpLLzMbWQdK7WT8HAdVNY/s1600/arrow.png" />XSLT</a></li>
            </ul>

        </div>

Title ေတြေျပာင္းလဲႏိုင္ျပီး " # " ေနရာေတြမွာႏွစ္သက္ရာ Link ေတြအစားထိုးေပးလုိက္ပါ။


0 comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Laundry Detergent Coupons