[opencms-dev] Navigation question

Stephan Hartmann hartmann at waehrisch-feykes.de
Tue Sep 3 12:28:44 CEST 2002


Hi Nico,

just one more idea:
you could combine getNavRoot and getNavTree. getNavRoot generates youf root 
navigation with your mouse over javascript code and getNavTree generates your 
layers. You can give paramters like <method name="getNavTree">1,1</method>
to just generate 1 leve depth (second parameter) from first level (first 
parameter). 
This is all possible with the CmsXmlNav class and there is no need to extend 
it.

Bye,
Stephan

Am Dienstag,  3. September 2002 12:07 schrieben Sie:

> > Thank you Stephan, ... no it is clear how to use navstart & navend
>
> I think it will help me a step forward.
>
> I've just made my first steps with extending CmsCmlNav... also getting some
> response yet... ("greeting from JAVA";)
>
> Mark, if you like - we should help each other... I'll just try to go some
> more steps forward with this ... then I will send an email to you or
> posting something into the list.
>
> Have a nice time,
>
> Nico
>
> P.S. If you live in Australia - go better sleeping now - don't work so
> long! Tomorrow morning ... there should be more (code) from my side.
>
>
>
>
> -----Original Message-----
> From: Stephan Hartmann [mailto:hartmann at waehrisch-feykes.de]
> Sent: Dienstag, 3. September 2002 11:26
> To: opencms-dev at www.opencms.org
> Subject: Re: [opencms-dev] Navigation question
>
> You can use the getNavTree method to read the whole tree. In the <navstart>
> and <navend> tags you can place your layer tags.
>
> Bye,
> Stephan
>
> Am Dienstag,  3. September 2002 11:16 schrieben Sie:
> > > Hi,
> >
> > I want to implement navigation with rollovers and layers.
> > A primary Navigation with 'n' 3-5 or more Items...should be generated
> > automatically from a folder root and each of them should have a separated
> > layer...the layer contains the secondary navigation. (next folder level)
> >
> > So I have to read the whole tree at once - I think - in order to get all
> > navigation items...
> >
> > Some problems I have with doing that (besides I did only a very easy
> > navigation at this time)
> >
> > 1.	I don't know how to separate logically the primary navigation from
> > the secondary navigation
> > 2.	positioning the layers might be a problem. But I think will solve
> > this through properties in folders. Or extending CmsXmlNav. with a new
> > method. Which shifts every new layer to the right depending from it's
> > position and how many nav items where displayed before.
> >
> > Did somebody extend the CmsXmlNav? It would be great if somebody posts
>
> some
>
> > code examples it to me.
> > If somebody has implemented such a navigation.. it would also be great
> > posting me.
> >
> > Thank you, very much,
> >
> > Nico
> >
> >
> >
> >
> > ____________________________________
> > Nico Krause
> > NorthStar Communications GmbH
> > Wallbergstr. 20-22     85221 Dachau
> > Telefon: +49 (0) 81 31 / 9 96 87 - 53
> > Fax:      +49 (0) 81 31 / 9 96 87 - 29
> > Mobil:    +49 (0) 1 71 / 3 70 10 70
>
> ----------------------------------------
> Content-Type: text/html; name="Anhang: 1"
> Content-Transfer-Encoding: quoted-printable
> Content-Description:
> ----------------------------------------

----------------------------------------
Content-Type: text/html; charset="iso-8859-1"; name="Anhang: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description: 
----------------------------------------

-- 
Stephan Hartmann

Währisch & Feykes GmbH
Gustav-Adolf-Str. 5
47057 Duisburg
Tel. 0203 / 373 070
Fax 0203 / 376 766
hartmann at wfnetz.de

------------------------------------------------------
Ausschlusserklärung (Disclaimer):
Über das Internet versandte E-mails können unter fremden Namen erstellt oder 
manipuliert werden. Aus diesem Grund enthalten unsere mit E-mail verschickten 
Nachrichten grundsätzlich keine rechtsverbindlichen Willenserklärungen.



More information about the opencms-dev mailing list