[TYPO3] adding a css class to a jumpmenu with typoscript

JoH info at cybercraft.de
Mon Aug 28 12:36:31 CEST 2006


> i am using the following typoscript to add a jumpmenu on my site,
> but i need to add a css class to the select box.
> i tried adding 1.class=whatever class without results
> how do i do this?
>
> the code:
>
> tempJumpNav = HMENU
> tempJumpNav {
>    special = directory
>      # id of root page where the menu starts
>    special.value = 79
>    1=JSMENU
>    1.target=_parent
>    1.firstLabelGeneral =Choose your brand..
>    1.class=menu_functions_formitem
> }

tempJumpNav = HMENU
tempJumpNav {
    wrap = <div class="myjumpmenu">|</div>
    special = directory
    # id of root page where the menu starts
    special.value = 79
    1=JSMENU
    1.target=_parent
    1.firstLabelGeneral =Choose your brand..
    1.class=menu_functions_formitem
}

.myjumpmenu select {
    my select styles
}

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com





More information about the TYPO3-english mailing list