[Typo3] Current menu item on top (first in the list)

Cyprian Kowalczyk cyprian at pi2.pl
Thu Sep 15 08:08:45 CEST 2005


On Mon, 12 Sep 2005 00:07:44 +0200, JoH <info at cybercraft.de> wrote:

>>>> I would like to get the current (ACT) menu item on top of the menu
>>>> list. Could someone give me a hint where should I look for
>>>> configuration options to get this?
>>>> Thanks in advance.
>>>
>>> 1. idea:
>>> Use CSS classes for the different item states.
>>> Then you can use CSS positioning to "move" the item to the top.
>>
>> To tell the truth I don't know how something like this should work..
>> Maybe with positioning a box with menu but not likely - the height of
>> the top menu may differ, though.
>> Is there a way to put one tag (say LI) above another:
>> <li id="this-should-go-down">menu 1</li>
>> <li id="this-should-be-on-top">menu 2</li>
>> ...using CSS?
>
> Try something like this:
>
> http://www.4any1.de/fileadmin/li_positioning.html
>
> Joey

:) thanks for the answer, yet it's not that simple :)
Please notice that I would like to have 'Test 3' item in the place where  
'Test 1' item is, and the rest of the menu moved down respectively.
Moreover 'Test 3' can have some subitems and then you'd have to use some  
JavaScript to move the rest of the menu down.
I don't think it's possible with pure CSS.


-- 
best regards, Cyprian



More information about the TYPO3-english mailing list