kp3နည္းပညာ၊၅၈၊မိမိရဲ့ဘေလာ့မွာကိုယ္ပိုင္ Menu တည္ေဆာက္ခ်င္ရင္

Posted by KP-3မိသားစု | Labels: ,

ဒါေလးကေတာ့ကိုယ္ပိုင္ Menu တည္ေဆာက္နည္းေလးေပါ့ေနာ္။
ရိုးရိုးရွင္းရွင္း Code ေလးတစ္ခုပါဘဲ။
ေအာက္မွာပံုနဲ႕တကြ Code
ထည့္နည္းေလးကလည္းထံုးစံတိုင္ပါဘဲ
၁။Layout
၂။ Add a Gadget
၃။ HTML/JavaScript

<center><div id="menu">
<ul>
<li><a class="current" href="http://kp3family.blogspot.com">home</a></li>
<li><a href="http://about.com">about as</a></li>
<li><a href="http://google.com">Google</a></li>
<li><a href="http://wikipedia.com">Wikipedia</a></li>
<li><a href="http://contact.com">contact us</a></li>
</ul>
</div></center>
<style>
/* --------------------------
AUTHOR : STYLED MENUS
URL : http://www.styledmenus.com
Copyrights by STYLED MENUS
Widget From http://bloggerstop.Net
----------------------------*/
*{
margin:0;
padding:0;
}
#menu{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1y457QYK3QNz09SUGJw479d0Td-maMeO3qH84CEuYQIKS7llC40IOR-SoKWhRZ_M2Y7OCPI8xEJWZ-JjSI02DOBGi5RUVIgRSZZvksAipVug-BLBvEG98ox6KhpKJvnE5LiTabZMHrms/s1600/menu_026_bg.jpg) no-repeat;
width:172px;
height:191px;
padding:15px;
}
#menu ul{
list-style:none;
padding:0 0 0 8px;
}
#menu li{
list-style:none;
display:block;
padding:10px 0;
}
#menu li a{
list-style:none;
display:block;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi45jGEtOdkWNyOdZOcIkBUrzzy7aVJgLoCsgCbc0TWo-QiEif2ak6c155nuXaWAQsBo-kzZIadTrZFgXgbugUic_h1ziO9R6Ehnhyth3GHwIuvlD5Yd2mveVLGdXtxPH8yQcEl2eH8l6E/s1600/menu_026_b.gif) no-repeat left center;
color:#ffe991;
font-weight:bold;
text-transform:uppercase;
font-size:11px;
line-height:1.2em;
text-decoration:none;
padding:0 5px 0 25px;
}
#menu li a:hover{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6o3EqCQ3nWOdeqTvpWJBWgw5xiuqy8D8iElojGLwqKGo8DCIOU0rovfiZBPgDMqJj3hDGQEHg5nkaq9hSWJoGHfA835CZNwK90lzWoTFsioP4FWhphhg54HNnWNOphMmimthHq9AAgmw/s1600/menu_026_h.gif) no-repeat left center;
color:#fff;
text-decoration:none;
}
#menu li .current{
list-style:none;
display:block;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6o3EqCQ3nWOdeqTvpWJBWgw5xiuqy8D8iElojGLwqKGo8DCIOU0rovfiZBPgDMqJj3hDGQEHg5nkaq9hSWJoGHfA835CZNwK90lzWoTFsioP4FWhphhg54HNnWNOphMmimthHq9AAgmw/s1600/menu_026_h.gif) no-repeat left center;
color:#fff;
font-weight:bold;
text-transform:uppercase;
font-size:11px;
text-decoration:none;
padding:0 5px 0 25px;
}
#menu li a.current, #menu li a:hover.current{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6o3EqCQ3nWOdeqTvpWJBWgw5xiuqy8D8iElojGLwqKGo8DCIOU0rovfiZBPgDMqJj3hDGQEHg5nkaq9hSWJoGHfA835CZNwK90lzWoTFsioP4FWhphhg54HNnWNOphMmimthHq9AAgmw/s1600/menu_026_h.gif) no-repeat left center;
color:#fff;
text-decoration:none;
}
</style>

အေပၚကCodeကိုpasteလုပ္ၿပီးရင္
၄။Save နိုပ္လိုက္ပါ။ ၿပီးပါၿပီ။။
kp3မွမိတ္ေဆြအားလုံးေက်းဇူးကမ႓ာ

အျပာေ၇ာင္ကေတာ့ပံုရဲ႕လင့္ခ္ပါဘဲမိမိနွစ္သက္သလိုျပန္ျပင္နိုင္ပါတယ္။
အနီေ၇ာင္ေန၇ာမွာမိမိလင့္ခ္ေတြကိုထည့္ေပးလိုက္ပါ။။



Related Post:

0 comments:

Post a Comment