[quote=pashya]bg nopathz bleh donk bagi [b]becroond mcm[/b] bg nopathz..
bentuk kertas gtu !![/quote]
yang mana nih maksudnya?
[quote=y4sir]bang nopatzh !!!
share navigasi yng kaya d profile abang dunkzz
tetep gak bsa bang !!!
mank kode js w dah bner ya ???[/quote]
ini jsnya ...
[spoiler]try {
var divnav=document.createElement("div");
}
catch(e) {
var divnav=document.createElement("<div>");
}
h=document.getElementById("flo_wrapper");
divnav.innerHTML="<ul class='glossymenu'>"+
"<li class='current'><a href='http://www.friendster.com/'><b>Home</b></a></li>"+
"<li><a href='http://www.friendster.com/user.php'><b>My Profile</b></a></li>"+
"<li><a href='http://www.friendster.com/comments.php?uid="+pageOwnerID+"'><b>Add Comment</b></a></li>"+
"<li><a href='http://www.friendster.com/sendmessage.php?uid="+pageOwnerID+"'><b>Send Message</b></a></li>"+
"<li><a href='http://www.friendster.com/bookmarks.php?action=add&uid="+pageOwnerID+"'><b>Add Bookmark</b></a></li>"+
"<li><a href='http://www.friendster.com/logout.php'><b>Log Out</b></a></li>"+
"</ul>";
h.parentNode.insertBefore(divnav,h);[/spoiler]
ini css nya :
[spoiler].glossymenu{
position: relative;
padding: 0 0 0 33px;
margin-top: -3px;
background: url(http://img155.imageshack.us/img155/9406/menubgla2.jpg) repeat-x;
height: 63px;
list-style: none;
}
.glossymenu li{
float:left;
}
.glossymenu li a{
float: left;
display: block;
color:#000;
text-decoration: none;
font-family: sans-serif;
font-size: 13px;
font-weight: bold;
padding:0 0 0 33px;
height: 63px;
line-height: 63px;
text-align: center;
cursor: pointer;
}
.glossymenu li a b{
color: #000;
float: left;
display: block;
padding: 0 42px 0 4px;
}
.glossymenu li.current a, .glossymenu li a:hover{
color: #fff;
background: url(http://img153.imageshack.us/img153/5905/menuhoverleftus2.jpg) no-repeat;
background-position: left;
}
.glossymenu li.current a b, .glossymenu li a:hover b{
color: #fff;
background: url(http://img381.imageshack.us/img381/2752/menuhoverrightzv2.jpg) no-repeat right top;
}[/spoiler]