[Typo3] MENU_LAYERS fixed layer position

Bolla Sándor xo3_delphi at freemail.hu
Wed Feb 16 17:05:14 CET 2005


Hi Peter,

as You will see in the manuals the HMENU doesn't have a wrap property not
even any property with wrap as datatype!
of course a little later I imagine that by GMENU_LAYERS (TSref)first
sentence there is a word "additional properties" that I didn't see before,
sorry.

But is there any solution to wrap the GMENU_LAYERS items in any case into a
"<td>"- column? That was my question!
Once again, how to wrap in a "GMENU_LAYERS" the DIV layers, to let them work
in table?

Thanks Again
Alex

Ui: More detail:
- I have a horizontal GMENU_LAYER in the main navigation (1. level)
- I want that the second level appears just below each 1. level item where
it belongs to
- So I set the relativeToTriggerItem property to 1, but then all of the
Graphical items will be put into a DIV layer and that means, that menu
become Vertical
- So in the TSref there is a Warning to relativeToTriggerItem that this will
happen I had to put(wrap) them into column in a table, OK I understand
- I was looking for a wraping property I found (later on) in the GMENU
propery called wrap, but it failed to put them into columns
my code was:
	...
	relativeToTriggerItem = 1
	wrap = <td> | </td>
- but instead to put the <td> on every menu item it was put on the whole
menuitems together, and that's affect nothing


-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de]On Behalf Of Peter
Klein
Sent: Wednesday, February 16, 2005 4:12 PM
To: typo3-english at lists.netfielders.de
Subject: Re: [Typo3] MENU_LAYERS fixed layer position



"Bolla Sándor" <xo3_delphi at freemail.hu> skrev i en meddelelse
news:mailman.230.1108553355.16343.typo3-english at lists.netfielders.de...
> Till I could find out the way is to use the relativeToTriggerItem property
> of GMENU_LAYERS, but there is also included in the help that when I have a
> horizontal menu then I should wrap it in a table (of course they are in a
> layer and the DIV drop every menuitem in a new row)! OK, I said, but there
> is no wrap function of then GMENU_LAYERS nore in the HMENU!!!
>
>
> What now?

Re-read the manuals ;)

HMENU has both "wrap" and "stdWrap" support..
See: http://typo3.org/documentation/document-library/doc_core_tsref/HMENU-1/

GMENU (& GMENU_AYERS) has "wrap" as well as "wrap", "allWrap /+stdWrap" &
"allStdWrap" for Menu item states.
See: http://typo3.org/documentation/document-library/doc_core_tsref/GMENU-1/

--
Peter Klein/Umloud Untd


_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english




More information about the TYPO3-english mailing list