[TYPO3] Menu Active state
rupali.ffm at googlemail.com
rupali.ffm at googlemail.com
Thu Sep 18 22:36:19 CEST 2008
sry, it didn't work...infact it has no any new effect generated.
On Thu, Sep 18, 2008 at 5:27 PM, Nirmalya Mondal <typo3india at gmail.com>wrote:
> rupali.ffm at googlemail.com wrote:
> > Hello List,
> > http://serviceforce.duke2007.taunus.de/index.php?id=35&L=1
> > in the Servicemenu (home, kontakt, anfahrt etc..)at the top of the site,
> the
> > active menu item has a arrow in front...everything works fyn but its not
> > working for menuitem-home..its a shortcut to main menu-unternehmen. ´why?
> > TS:
> > ##Service Menu [Begin]
> > lib.service_nav= HMENU
> > lib.service_nav{
> >
> > special = directory
> > special.value = 31
> > 1 = TMENU
> > 1{
> > expAll = 1
> >
> > wrap =<ul id ="top_nav_ul">|</ul>
> > noBlur = 1
> >
> > NO {
> > allWrap =<li>|</li>
> > }
> >
> > RO < .NO
> > RO {
> > allWrap =<li>|</li>
> > }
> > RO = 1
> >
> > CUR< .NO
> > CUR{
> > allWrap =<li>|</li>
> > ATagParams = class="current_menu"
> > }
> > CUR= 1
> > }
> > }
> > ##Service Menu [endet]
> > I also tried ACT inplace of CUR...:(
> >
> > Rupali
>
> Hello,
> Believe this will help you to resolve this issue.
>
> You can try this typoscript code for menu.
> -------------------------------
> lib.service_nav = HMENU
> lib.service_nav.special = directory
> lib.service_nav.special.value = 31
> lib.service_nav{
> #entryLevel = 0
> 1 = TMENU
> 1 {
> expAll=1
> wrap = <ul id ="top_nav_ul"> |</ul>
> NO = 1
> NO.allWrap.insertData=1
> #change to allWrap=<li id="menuitem{field:title}">| if you want
> the title instead of the uid as css id
> NO.allWrap=<li id="menuItem{field:uid}">|
> NO.wrapItemAndSub = |</li>
>
> ACT = 1
> ACT.ATagParams = class="firstLevelAct"
> ACT.allWrap.insertData=1
> ACT.wrapItemAndSub.insertData = 1
> ACT.allWrap=<li id="menuItem{field:uid}">|
> ACT.wrapItemAndSub = | </li>
> }
> }
> ---------------------
> In typoscript setup of root page.
> ------------------------------
> [globalVar = TSFE:id = 30]
> page.headerData.100 = TEXT
> page.headerData.100.value (
> <style type="text/css">
> #top_nav_ul #menuitem35 {text-decoration: none; color:#FFFFFF;
> background-color:red}
> </style>
> )
> end]
> ---------------
> here 30 is the page id where home page will look red bgcolor.
> and #menuitem35 >> 35 is page id of home page.
> _______________________________________________
> 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