dropdown menu !

Sunday, April 03, 2011 | 6 talkiey²


Assalamualaikum !

oke la , d cbbkn rmai yg rquest sal tutor ny , trpkse la eiyna
wtkn . kaka comel , jgn mara ek ??:face71:  credit to kaka comel .:1:
tutor ny firstnye momon yg rquest . then tme bkak formspring , someone
tnye sal ny .:face57: so , bub xnk hmpekn sspe , eiyna wt la .:face57:



ukeh ny contoh diyerr .


863287d81fb051ea1973530885a469fa sign in blog>design>add a gadget>HTML/javascript .
d408702d44383ed4394ce8a19356b435 pastekan kod kt bwh ny kt ctu .


<style type="text/css">
h5 {
font-family: trebuchet-ms, arial, tahoma;
font-size: 13px;
padding: 0 0 1em;
font-weight:bold;
color: #ffffff;
}
.msg_list {
list-style: none;
margin: 0;
padding: 0;
width: 100%;
}
.msg_head {
padding: 5px 10px;
cursor: pointer;
position: relative;
background-color:#FFCCFF;
margin:1px;

-moz-border-radius: 35px;
border-radius: 35px;

}
.msg_body {
padding: 5px 10px 15px;
background-color:#FFFFFF;
}
</style>

<script type="text/javascript" src="https://sites.google.com/site/jquery01/tabmenuaccordion.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
//hide the all of the element with class msg_body
$(".msg_body").hide();
//slides the element with class "msg_body" when paragraph with class "msg_head" is clicked
$("#firstpane h5.msg_head").click(function()
{
$(this).next("div.msg_body").slideToggle(700).siblings("div.msg_body").slideUp("slow");
});
//slides the element with class "msg_body" when mouse is over the paragraph
$("#secondpane h5.msg_head").mouseover(function()
{
$(this).next("div.msg_body").slideDown("slow").siblings("div.msg_body").slideUp("slow");
});
});
</script>
<div class="msg_list" id="secondpane">
<h5 class="msg_head">title 1</h5>
<div class="msg_body">
<center>
KOD / SOMETHING YG KORANG NAK LETAK
</div>
<h5 class="msg_head">title 2</h5>
<div class="msg_body">

KOD / SOMETHING YG KORANG NAK LETAK
</div>
<h5 class="msg_head">title 3</h5>
<div class="msg_body">
KOD / SOMETHING YG KORANG NAK LETAK
</div>
</div>

p/s > warna purple ~ letak je kod yg korang nak letak .
warna oren ~ tajuk dea .
warna hijau ~ warne tulisan tab menu korang .
warna merah ~ warne background tab menu tue .
warna aqua ~ background isi tab menu korang .

finish !!:1:



Jom talkiey²

ツFairy Of Happinessツ said...

tenx so much eiyna !rily2 APPRECIATE it <3

eyka haron said...

em , nk tnye , contoh la kte nk ltak about me kn , mne nk dpat kod untuk ltak bnde tu ? hee :)

eiyna zhafirah said...

@eyka haron about me yg kte nk buat sendiri k , about me yg lm blogger ?

eyka haron said...

yang nk buat sndiri . mcm mne ek ?

eiyna zhafirah said...

@eyka haron law yg buat sendiri xprlu kod pape . cme law nk ltk gmbr cket k bru ade kod :)