appearance of parent-menu choice

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
dick265
Posts: 23
Joined: Sun 18. Dec 2005, 23:05
Location: Netherlands
Contact:

appearance of parent-menu choice

Post 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?
Dick
doing business from the heart
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi dick265,
which menu-system did you use?

Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
dick265
Posts: 23
Joined: Sun 18. Dec 2005, 23:05
Location: Netherlands
Contact:

appearance of parent-menu choice

Post by dick265 »

Hi Knut,
I've used NAV TABLE
the standard as far as I know . . .
Tnx
Dick
doing business from the heart
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
dick265
Posts: 23
Joined: Sun 18. Dec 2005, 23:05
Location: Netherlands
Contact:

Post 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;
}
Dick
doing business from the heart
dick265
Posts: 23
Joined: Sun 18. Dec 2005, 23:05
Location: Netherlands
Contact:

Post 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
Dick
doing business from the heart
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post 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 :wink:

Which are you using:
{NAV_TABLE_SIMPLE}
{NAV_TABLE_COLUMN}
{NAV_TABLE_COLUMN:integer}
dick265
Posts: 23
Joined: Sun 18. Dec 2005, 23:05
Location: Netherlands
Contact:

Post 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?
Dick
doing business from the heart
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi dick265, :D

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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
dick265
Posts: 23
Joined: Sun 18. Dec 2005, 23:05
Location: Netherlands
Contact:

Post by dick265 »

:D
fabulous
it works, thanks!!!!
Dick
doing business from the heart
Post Reply