I have a client with a really weird requirement. They want a menu like Collapso, but they want the top level sections to be invisible (navigation into the top level sections is controlled by some tabs across the top). Then once they are in a sub-section you can use the tree to navigate through the rest of the section levels.
Is there anyway to add CSS or something into the PHP to make the links invisible (we can keep the <li>s in place) if the SectionLevel is 1?
Cheers
Chris
Make Top Level Sections Invisible? Using CSS?
-
- Posts: 25
- Joined: Wed May 28, 2008 5:30 pm
Re: Make Top Level Sections Invisible? Using CSS?
Tricky but no doubt do-able. There are several possible approaches.
The Collapso code could be tweaked so that it only generated a list starting at section level 2.
The entire menu could be hidden and only the current path made visible on section pages.
Something completely bespoke.
To comment further I'd need a better idea about what would have to be shown on top-level page, 2nd level pages, 3rd (and subsequent) level pages, non-Section pages, etc.
The Collapso code could be tweaked so that it only generated a list starting at section level 2.
The entire menu could be hidden and only the current path made visible on section pages.
Something completely bespoke.
To comment further I'd need a better idea about what would have to be shown on top-level page, 2nd level pages, 3rd (and subsequent) level pages, non-Section pages, etc.
Norman
-
- Posts: 25
- Joined: Wed May 28, 2008 5:30 pm
Re: Make Top Level Sections Invisible? Using CSS?
OK - let's say this is the structure
Cosmetics
--Eyes
----Eye Shadow
----Mascara
--Face
----Concealer
----Foundation
When they are in 'Cosmetics' they want to see....
Eyes
Face
When they click on in 'Eyes' they want to see...
Eyes
--Eye Shadow
--Mascara
Face
When they are in 'Eye Shadow' they want to see....
Eyes
--Eye Shadow
--Mascara
Face
Hope this makes it clearer. So out of the options you suggest, the one about only starting at level 2 sounds like it will work. Thanks for taking the time to help.
Cheers
Chris Dicken
Cosmetics
--Eyes
----Eye Shadow
----Mascara
--Face
----Concealer
----Foundation
When they are in 'Cosmetics' they want to see....
Eyes
Face
When they click on in 'Eyes' they want to see...
Eyes
--Eye Shadow
--Mascara
Face
When they are in 'Eye Shadow' they want to see....
Eyes
--Eye Shadow
--Mascara
Face
Hope this makes it clearer. So out of the options you suggest, the one about only starting at level 2 sounds like it will work. Thanks for taking the time to help.
Cheers
Chris Dicken
Re: Make Top Level Sections Invisible? Using CSS?
That's pretty clear. It should be do-able but will require a bit of work. I hope it's not urgent as I'm packing up for my summer relocation right now and won't have much free time for quite a few days.
Norman
-
- Posts: 25
- Joined: Wed May 28, 2008 5:30 pm
Re: Make Top Level Sections Invisible? Using CSS?
Off to Turkey again eh? Very nice.
The customer can probably go live still with the top-level sections visible - it won't kill them.
Many thanks for any help you can give me.
Chris
The customer can probably go live still with the top-level sections visible - it won't kill them.
Many thanks for any help you can give me.
Chris
Re: Make Top Level Sections Invisible? Using CSS?
OK, that takes the pressure off. Remind me in about a week when I've settled in in case I forget.
Norman
-
- Posts: 25
- Joined: Wed May 28, 2008 5:30 pm
Re: Make Top Level Sections Invisible? Using CSS?
Hi Norman - how's it going? Are you all settled in yet?
The customer has been asking about the collapso customisation again. Is there any chance you could look at this week?
Chris
The customer has been asking about the collapso customisation again. Is there any chance you could look at this week?
Chris
Re: Make Top Level Sections Invisible? Using CSS?
Hi, Chris
Fairly sorted here now. What should happen on non-Section pages? It may be best to email me so we can discuss additional costs, etc.
Fairly sorted here now. What should happen on non-Section pages? It may be best to email me so we can discuss additional costs, etc.
Norman