Fix the primary nav

This commit is contained in:
james 2010-07-23 18:55:11 +00:00
parent d871810065
commit 32dd83fbde
2 changed files with 6 additions and 1 deletions

View File

@ -95,6 +95,10 @@ function taskNavLevel(l1,l2,l3,l4) {
else { else {
//only the primary link clicked, so show the secondary, and thats it. //only the primary link clicked, so show the secondary, and thats it.
$("#secondarymenu").load("<?=$config['SFIABDIRECTORY']?>/nav.php?level=1&id="+l1,null,function() { $("#secondarymenu").load("<?=$config['SFIABDIRECTORY']?>/nav.php?level=1&id="+l1,null,function() {
$(".primarynav-selected").removeClass("primarynav-selected");
$("#primary_nav_"+l1).addClass("primarynav-selected");
//show the secondary //show the secondary
$("#secondarymenu").show(); $("#secondarymenu").show();
//and hide the tertiary //and hide the tertiary

View File

@ -252,10 +252,11 @@ ul.secondarynav li.secondarynav-selected a {
} }
ul.tertiarynav { ul.tertiarynav {
font-size: 0.9em;
} }
ul.tertiarynav li a { ul.tertiarynav li a {
color: red;
} }
.tertiarylinknav-selected a { .tertiarylinknav-selected a {