Page 1 of 1
appearance of parent-menu choice
Posted: Fri 27. Jan 2006, 10:25
by dick265
Hi you all
The active menu-choice on my website is turned gray. That is intentional.
in my menu when visiting a submenu, the parent-menuchoice remains gray.
I presume that this is 'standard CSS', but I cannot find the proper code in frontend-CSS.
What line defines the appearance of a parent-menu choice?
Posted: Fri 27. Jan 2006, 20:55
by flip-flop
Hi dick265,
which menu-system did you use?
Gruß Knut
appearance of parent-menu choice
Posted: Mon 30. Jan 2006, 06:48
by dick265
Hi Knut,
I've used NAV TABLE
the standard as far as I know . . .
Tnx
Posted: Mon 30. Jan 2006, 07:28
by flip-flop
Hi dick265,
NAV_TABLE is a mix of adjustments by conf.template_default.inc.php and frontend.css.
Take a look at your conf.template_default.inc.php.
// navigation table defaults
$template_default["nav_table_struct"]........
You can create own classes for your NAV_TABLE.
Have a look two at:
* sublevel layout
* ===============
* setup unique style for each node/level
* ['array_struct'][1] => the number represents level ID
* so root level is [0] and so on...
$template_default["nav_table_struct"]['array_struct'][1]........
Duplicate all these lines for creating adjustments to every sublevel.
Gruß Knut
Posted: Mon 30. Jan 2006, 11:25
by dick265
Hi
this is the code:
.nav_table, .nav_table a, .nav_table a:link, .nav_table a:active, .nav_table a:visited, .nav_table a:hover {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10px;
color: #FFFFFF;
font-weight: normal;
text-decoration: none;
}
.nav_table a:hover {
text-decoration: underline;
}
.nav_table_active, .nav_table_active a, .nav_table_active a:link, .nav_table_active a:active, .nav_table_active a:visited, .nav_table_active a:hover {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10px;
color: #4A5966;
font-weight: bold;
text-decoration: none;
}
Posted: Mon 30. Jan 2006, 22:34
by dick265
Hi Knut
I more or less understand what you mean.
But I think I'm asking something else:
If this is my menustructure
-Father
--Son1
--Son2
---Grandson2a
---Grandson2b
this is what happens
After clicking on -Father I' arrive at the level where I can choose a Son.
Father is turned Gray. This is good.
Then I choose Son2 and arrive at the 3th level where I can choose Grandson 2a or Grandson2b.
Son2 is now gray, this is good too.
But Father stays gray and that is wrong.
Now the question is: how is it called this visited father of the current level:
I tried
NAV_TABLE_ACTIVE A:VISITED but that is not it. So do you have any suggestions?
thanks in advance
Dick
Posted: Mon 30. Jan 2006, 23:04
by DeXXus
dick265 wrote:
But Father stays gray and that is wrong.
In your mind, what should it be? If you are not on that level, it seems it should be gray, no? Perhaps, I misunderstand
Which are you using:
{NAV_TABLE_SIMPLE}
{NAV_TABLE_COLUMN}
{NAV_TABLE_COLUMN:integer}
Posted: Wed 1. Feb 2006, 09:16
by dick265
hi
when I reach the level grandson2a, father should be 'normal', that is not grey but white text.
I think I use SIMPLE,that is all I can find in conf.template_default.inc.php.
does this help?
Posted: Sat 4. Feb 2006, 12:49
by flip-flop
Hi dick265,
there is a switch at conf.template_default.inc.php called:
$template_default["nav_table_struct"]["all_nodes_active"] =
1;
For your reason it is
0
Gruß Knut
Posted: Sat 4. Feb 2006, 20:45
by dick265
fabulous
it works, thanks!!!!