How can I change in my code menu, for change the color of selected menu tab after click? this is my code:
php
<div class="meniu-item" onclick="$('#content').load('_core/home.php?rand='+Math.random()); window.location.hash = 'home'; ">Home</div>
<div class="meniu-item" onclick="$('#content').load('_core/after-login.php?what=help&rand='+Math.random()); window.location.hash = 'help'; ">Contact</div>
css
.meniu-item {
display:block;
float:left;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fdfdfd), color-stop(1, #f1f1f2) );
background:-moz-linear-gradient( center top, #fdfdfd 5%, #f1f1f2 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdfdfd', endColorstr='#f1f1f2');
background-color:#fdfdfd;
border-right:1px solid #e0e0e0;
color:#333333;
font-family:Verdana;
font-size:10px;
font-weight:bold;
padding:4px 0 0 0;
text-decoration:none;
text-shadow:1px 1px 0px #ffffff;
cursor:pointer;
height:25px;
color:#4d4d4d;
width: 97px;
text-align:center;
margin-top: 6px;
line-height: 2;
}
Example:
http://www.codeproject.com/KB/webforms/MenuControlSelectedItem1/EndProduct1.JPG