Dashboard | +Follow

McJellyz Tutorialz.


★ Tutor : JQuery Tab Menu (macam saya punya :D)
Dashboard > Design > Add Gadgets ( kat bawah header ) > HTML/Javascript.
Paste code kat bawah ni kat situ.
<center>
<style>
#container {
width: 130%;
margin: 0px 0px;
padding: 0px 0px 40px 14px;
}

ul, li {
margin: 0; padding: 0;
}

#blob {
border-right: 1px solid #0059ec;
border-left: 1px solid #0059ec;
position: absolute;
top: 0;
z-index : 1;
background: #F78181;
background: -moz-linear-gradient(top, #F78181, #F78181);
background: -webkit-gradient(linear, left top, left bottom, from(#F78181), to(#F78181));
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-moz-box-shadow: 2px 3px 5px #011331;
-webkit-box-shadow: 2px 3px 5px #011331;
}

#lava-lamp {
Background-image:url(URLGMBR);
float: left;
border: 1px solid #BDBCBA;
margin: 0px 0px 12px;
padding: 13px 0px 10px 0px;
}

#lava-lamp li {
float: left;
list-style: none;
border-right: 1px solid #4a4a4a;
border-left: 0px solid #4a4a4a;
}

#lava-lamp li a {
color: #413839;
text-shadow: 0 0px 1px #81807B;
position: relative;
z-index: 2;
float: left;
font-size: 13px;
font-family: arial, sans-serif;
font-weight: bold;
text-decoration: none;
padding: 0px 20px;
}
</style>

<div id="container">

<ul id="lava-lamp">
<li id="selected"><a href="LINK ANDA">Nama link</a></li>
<li><a href="LINK ANDA">Nama link</a></li>

<li><a href="LINK ANDA">Nama link</a></li>
<li><a href="LINK ANDA">Nama link</a></li>


</div>

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript"></script>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>

<script type="text/javascript" src="https://sites.google.com/site/jquery01/jquery.spasticNav.js"></script>

<script type="text/javascript">
$('#lava-lamp').spasticNav();
</script>
</center>
Yang purple tu untuk warna benda yang gerak-2 tu. Boleh tengok code warna di sini. Yang merah tu pulak background untuk tab menu korang. Yang LINK ANDA tu gantikan dengan link tempat yang korang nak pergi tu, Nama Link pulak, nama link tu la ehehe. Pastu Save. :)
Photobucket

- Tutorial List
- Personal Blog

p/s ; This blog is for tutorials only.
p/s(ii) ; I'm more active on my personal blog.