Re: [Xweb-developers] Stylesheet for 3-layer-Navigation?
Brought to you by:
peterbecker
|
From: Peter B. <pe...@pe...> - 2004-02-03 08:40:46
|
Hendrik Lipka wrote: >Hello Peter, > >Monday, February 2, 2004, 9:09:47 PM, you wrote: > > > >>Hi Hendrik, >> >> > > > >>I don't think I ever actually did more than two layers of navigation, >>but XWeb won't stop you. Nesting <section>s is no problem at all, the >> >> > >I know, I have already done that. > > > >>only thing you have to make sure is that the stylesheet for the >>navigation handles this. The generic one in the distribution is not >>meant for this, although it could probably be extended towards a third >>layer. >> >> > > >Exactly that was my question :) I have already displayed the section inside >another section, but it is rendered with the wrong colors, and the third >layer is not displayed :( > > I am just about to fly back to AUS, so you have to wait for a more detailed answer. Some thoughts: - you would need extra parameters and/or CSS styles to handle subsections - the XSLT has to be checked how it handles the sections and entries. You would need either a mode once you are in a section to distinguish from the standard <section> match, or you could try to match "section/section" with a higher priority than "section" itself. I would have to test that myself. Peter |