Re: Submenus

Christian Stocker <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Organization Bitflux GmbH
Message-ID <[email protected]>

On 3.10.2005 1:31 Uhr, Simon Rönnqvist wrote:
>   Hi!
> 
> I modified the menu a bit and made it an unordered list <ul> in the 
> sidebar. http://strengsong.com Now I'd think it'd be really nice  being
> able to have submenus, which in the XHTML would mean nested  unordered
> lists. Do you have any suggestions on how this could be  achieved?  (To
> see some fun examples of what you can do with nested  <ul> menus visit:
> http://www.meyerweb.com/eric/css/edge/menus/ demo.html )
> 
> I guess one could do this in the same way as Chregu recently  explained
> how to make multilingual site descriptions. http://
> lists.bitflux.ch/pipermail/bitflux-cms/2005-September/001577.html
> But that would also make the menu kind of static, or let's say not 
> really easy enough to edit for the average customer.

Nono, the solution is much easier. Look at themes/mobile/master.xsl and
search for

<xsl:template name="topnavi">

It should do exactly what you want, so you can use that code for your
template.

chregu
> 
>   cheers, Simon

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected] |  GPG 0x5CE1DECB
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.