မိုးေကာင္းကင္ ေဖာင္းျပင္ရဲ့ ဆိုက္ေလးပါဘဲ ေပါ့ပါးသြက္လက္သြားေအာင္
ျပဳလုပ္ထားတယ္။ ေဘးရန္ကင္းေအာင္ စၿပိဳးေထာင္ထားတယ္ဆိုေပါ့ေတာ့

Monday, May 20, 2013

Dark Style Drop Down Menu Bar For Blogger

ဒီတစ္ခါေတာ့ Blog မ်ားအတြက္ Menu Bar အလန္းေလးတင္ေပးလုိက္ပါတယ္။ အရင္ဆံုး ကိုယ့္ရဲ႕ Blog ထဲ့ကို Log in ၀င္ပါ၊ပံုမွာျပထားတဲ့အတိုင္း Template ကိုႏိုပ္ပါ.။ ကို၀င္းထြဋ္တင္မွ ကူးလာ..


ေအာက္မွာျပထားတဲ့အတိုင္း Edit HTML ကိုႏိုပ္ပါ၊

Ctrl + F အကူအညီနဲ ]]></b:skin> ကိုရွာပါ၊ ေတြ႕ျပီဆိုတာနဲ႕ ]]></b:skin> ရဲ႕

အေပၚမွာ Cursor ခ်ျပီး ေအာက္ပါ code ကိုကူးထဲ့ျပီး Save ပါ


/* Flying Css3 menu www.bloggertrix.com*/

.container {

margin: 30px auto;
width: 957px;}

#nav,#nav ul {
list-style: none outside none;
margin: 0;
padding: 0;}
#nav {
background: url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhltEgAPHHhbqZ2tXq7-SmyoLkls5JHbij2NLxKKJ-Sq5sR1dG64-jec3feI3E-IcWQQVrjt7Yla1uPPVy7dcKVYAFX34-sFOD9QS476GO7pdkwClB43fGdP2BGWh9hKJK7avRElb8Zinc/s1600/menu_bg.png') no-repeat scroll 0 0 transparent;
clear: both;
font-size: 12px;
height: 58px;
padding: 0 0 0 9px;
position: relative;
width: 957px;}
#nav ul {
background-color: #222;
border:1px solid #222;
border-radius: 0 5px 5px 5px;
border-width: 0 1px 1px;
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
left: -9999px;
overflow: hidden;
position: absolute;
top: -9999px;
z-index: 2;
-moz-transform-origin: 0 0;
-ms-transform-origin: 0 0;
-o-transform-origin: 0 0;
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
-moz-transition: -moz-transform 0.1s linear;
-ms-transition: -ms-transform 0.1s linear;
-o-transition: -o-transform 0.1s linear;
-webkit-transition: -webkit-transform 0.1s linear;
transition: transform 0.1s linear;
}
#nav li {
background: url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpxTeATv3guTWcjSyPTF0QigvN1dSuX4taofn3PtFaLl3Znlk8tKFRUaBmGnefNiocoJ5LcYL16h_e72DPE4QOhgCauV5vCbz40krscaOxUjjGmdqEvZ2os3Zuw0LhWZK2qZr2if9r7o0/s1600/menu_line.png') no-repeat scroll right 5px transparent;
float: left;
position: relative;}
#nav li a {
color: #FFFFFF;
display: block;
float: left;
font-weight: normal;
height: 30px;
padding: 23px 20px 0;
position: relative;
text-decoration: none;
text-shadow: 1px 1px 1px #000000;
}
#nav li:hover > a {
color: #00B4FF;
}
#nav li:hover, #nav a:focus, #nav a:hover, #nav a:active {
background: none repeat scroll 0 0 #121212;
outline: 0 none;
}
#nav li:hover ul.subs {
left: 0;
top: 53px;
width: 180px;
-moz-transform: scaleY(1);
-ms-transform: scaleY(1);
-o-transform: scaleY(1);
-webkit-transform: scaleY(1);
transform: scaleY(1);}
#nav ul li {
background: none;
width: 100%;}
#nav ul li a {
float: none;}
#nav ul li:hover > a {
background-color: #121212;
color: #00B4FF;}
#lavalamp {
background: url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMNIjLN3WNIbAFWgJqKf7RQgyEIT_xoVVqcavvSFMn10pvx1A-7uGYbXlSL9YqZOlwGTUl8tiONwZfYoGGCvUR7jrlTB4h49jgRIn963dW_8Rg5y4U5ikB9gsEQ9r6uMdlbbXDmj-PiPw/s1600/lavalamp.png') no-repeat scroll 0 0 transparent;
height: 16px;
left: 13px;
position: absolute;
top: 0px;
width: 64px;
-moz-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
-webkit-transition: all 300ms ease;
transition: all 300ms ease;
}
#lavalamp:hover {
-moz-transition-duration: 3000s;
-ms-transition-duration: 3000s;
-o-transition-duration: 3000s;
-webkit-transition-duration: 3000s;
transition-duration: 3000s;
}
#nav li:nth-child(1):hover ~ #lavalamp {
left: 13px;
}
#nav li:nth-child(2):hover ~ #lavalamp {
left: 90px;
}
#nav li:nth-child(3):hover ~ #lavalamp {
left: 170px;
}
#nav li:nth-child(4):hover ~ #lavalamp {
left: 250px;
}
#nav li:nth-child(5):hover ~ #lavalamp {
left: 330px;
}
#nav li:nth-child(6):hover ~ #lavalamp {
left: 410px;
}
#nav li:nth-child(7):hover ~ #lavalamp {
left: 490px;
}
#nav li:nth-child(8):hover ~ #lavalamp {
left: 565px;
}

Save ျပီးပါက  Layout ကိုေရြးပါ

Add Gadget and select 'HTML/Javascript ကိုေရြးခ်ယ္ျပီးေအာက္ပါ Code ကိုကူးထဲ့ပါ

<div class="container">

<ul id="nav">
<li><a href="http://winhtuttin.blogspot.com">Home</a></li>
<li><a class="hsubs" href="#">Menu 1</a>
<ul class="subs">
<li><a href="#">Submenu 1</a></li>
<li><a href="#">Submenu 2</a></li>
<li><a href="#">Submenu 3</a></li>
<li><a href="#">Submenu 4</a></li>
<li><a href="#">Submenu 5</a></li>
</ul>
</li>
<li><a class="hsubs" href="#">Menu 2</a>
<ul class="subs">
<li><a href="#">Submenu 2-1</a></li>
<li><a href="#">Submenu 2-2</a></li>
<li><a href="#">Submenu 2-3</a></li>
<li><a href="#">Submenu 2-4</a></li>
<li><a href="#">Submenu 2-5</a></li>
<li><a href="#">Submenu 2-6</a></li>
<li><a href="#">Submenu 2-7</a></li>
<li><a href="#">Submenu 2-8</a></li>
</ul>
</li>
<li><a class="hsubs" href="#">Menu 3</a>
<ul class="subs">
<li><a href="#">Submenu 3-1</a></li>
<li><a href="#">Submenu 3-2</a></li>
<li><a href="#">Submenu 3-3</a></li>
<li><a href="#">Submenu 3-4</a></li>
<li><a href="#">Submenu 3-5</a></li>
</ul>
</li>
<li><a href="#">Menu 4</a></li>
<li><a href="#">Menu 5</a></li>
<li><a href="#">Menu 6</a></li>
<li><a href="http://www.bloggertrix.com/">Back</a></li>
<div id="lavalamp"></div>
</ul>

</div>
http://winhtuttin.blogspot.com ဆိုတဲ့ေနရာမွာကိုယ့္ Blog link ကိုထဲ့ေပးပါ
ဒါဆိုရင္ႏွစ္သက္ရာ Title ေတြကိုေျပာင္းလဲႏိုင္ျပီး '#' ေနရာမွာ Link ကိုထဲ့ေပးလိုက္ပါ။

စလုပ္ကာစမိတ္ေဆြမ်ားအတြက္အၾကံေပးခ်င္တာကေတာ့ကိုယ့္ Blog နဲ႕ Tamplate တူ
တဲ့ အရံ Blog တစ္ခုမွာေသခ်ာနားလည္ေအာင္စမ္းသပ္ျပီးမွ ကိုယ့္ Blog မွာအသံုးခ်ပါ

http://winhtuttin.blogspot.com မွ ယူလာျခင္း...

1 comment:

  1. အကိုေရ
    menu ေတာရတယ္ ဒါေပမယ္ drop down မရဘူး

    ReplyDelete