Menu Bar

Post by Adilla Shahirah | 2:51 am | 0 Nutella |


Annyeong, chingu :)
Yaww ! Ari neyy Eyra dengan segala hormatnyee nak buad tutorial . Ape itu tutorial ? HAHA. Takkan korang tak tawu ? :O
Tipulahh tak taw. Okay2 suda. Straight to the point.
Ari neyy kanak2 skalian Eyra nak buad tutorial ape ? Tgk bawah neyy :



Ape itu menu bar ? 



Itu dia ! Cehh, Eyra punye warne pink mentang2 tema blog warne pink --'

1. Pergy kat design -> Edit HTML
2. Cari kod neyy :  ]]></b:skin>
3. Copy kod tuhh then pastekan kat atas kod ]]></b:skin>


/*** menubar1 css mula ***/


#menubar1 {
margin: 0;
height:33px;
padding: 3px 6px 2px;
background: #72587F url(http://3.bp.blogspot.com/_LZtXSNcp76A/TBJ9sMqebeI/AAAAAAAABGI/9LYh5N58KYw/s320/gradient.png) repeat-x 0 -110px;
line-height: 100%;
border-radius: 0em;
-webkit-border-radius: 0em;
-moz-border-radius: 4px;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .4);
-moz-box-shadow: 0 1px 3px rgba(0,0,0, .4);
}
#menubar1 li {
margin: 0 5px;
padding: 0 0 8px;
float: left;
position: relative;
list-style: none;
}
/* main level link */
#menubar1 a {
font: bold 12px Arial;
color: #fff;
text-decoration: none;
display: block;
padding: 8px 20px;
margin: 0;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
text-shadow: 0 1px 1px rgba(0,0,0, .3);
}
#menubar1 a:hover {
background: #000;
color: #000;
}
/* main level link hover */
#menubar1 .current a, #menubar1 li:hover > a {
background: #EE82EE url(http://3.bp.blogspot.com/_LZtXSNcp76A/TBJ9sMqebeI/AAAAAAAABGI/9LYh5N58KYw/s320/gradient.png) repeat-x 0 -40px;
color: #404040;
border-top: solid 1px #f8f8f8;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0, .2);
-moz-box-shadow: 0 1px 1px rgba(0,0,0, .2);
box-shadow: 0 1px 1px rgba(0,0,0, .2);
text-shadow: 0 1px 0 rgba(255,255,255, 1);
}
/* dropdown */
#menubar1 li:hover > ul {
display: block;
}
/* level 2 list */
#menubar1 ul {
font: normal 12px Arial;
color:#000000;
text-align:left;
display: none;
margin: 0;
padding: 2px 2px 2px 2px;
width: 185px;
position: absolute;
top: 35px;
left: 0;
background: #9EDEFA url(http://3.bp.blogspot.com/_LZtXSNcp76A/TBJ9sMqebeI/AAAAAAAABGI/9LYh5N58KYw/s320/gradient.png) repeat-x 0 0;
border: solid 1px #b4b4b4;
-webkit-border-radius: 10px;
-mozborder-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
-moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
box-shadow: 0 1px 3px rgba(0,0,0, .3);
}
/*** menubar1 css tamat ***/

4. Save !
5. Then, copy kod bawah neyy pulak.

<!-- menubar1 mula -->

<ul id='menubar1'>
<li class='current'><a href='http://storysayeawakmereka.blogspot.com'>Home</a></li>
<li><a href='http://storysayeawakmereka.blogspot.com/2010/11/about-d-owner.html'>SHZ</a></li>
<li><a href='http://storysayeawakmereka.blogspot.com/2011/01/contact-me.html'>Contact</a></li>
</ul>
<!-- Menubar1 tamat -->

6. Pergy kat design -> Page Elements -> Add A Widget -> HTML/Java Script
7. Pastekan code tady kat HTML/Java Script tuhh.
8. Letakkan HTML/Java Script tuhh dekat bawah header.

Clue : background: #72587F (Warna background menu bar)
          background: #EE82EE (Warna button menu bar)
          background: #9EDEFA (Warna background shout box)
          width: 185px; (Lebar kotak shout box)

Link atau url untuk code yang kedua tu , boleh tukarkan ke link atau url blog korang .

Dah menjadi ? congrat :)

Terima kasih baca entry ni. Jangan lupa datang lagi ke sini!

0 comments: