Quote:
Originally Posted by Lerura
I finally found the right solution: (a cup of coffee made the difference  )
Code:
<script type="text/javascript">
$(function(){
$('#treemenu1').find('a').each(function(){
if (this.href==location.href){
$(this).addClass('Active');
}else{
$(this).removeClass('Active');
}
});
});
</script>
|
IT WORKS! Can you explain to me what was wrong before and what it does now? That is how I learn

Thanks!