[TYPO3-english] Subject: Re: responsive mobile menu

Toni Andric toni.andric at openit.hr
Wed Dec 18 13:53:03 CET 2013


On 18.12.2013. 12:00, typo3-english-request at lists.typo3.org wrote:
> Subject: Re: [TYPO3-english] responsive mobile menu

Hey Katja,

i think the CSS version is pretty good tbh but if u need the TS version 
u could do it like this. This is what i use:

     NAVIGATION = HMENU
     NAVIGATION{
       1= TMENU
       1 {
         wrap = <nav class="nav left"><ul>|</ul></nav>
         expAll = 1

         NO = 1
         NO {
           allWrap = <li>|</li>
           transparentBackground = 1
         }

         RO <.NO
         ACT <.RO

         IFSUB <.NO
         IFSUB.allWrap =  <li class="dropdown-parent"> |
       }

       2 = TMENU
       2 {
         wrap = <ul class="nav-dropdown">|</ul> ***HERE U CAN ADD SOME 
SPAN OR SOMETHING WITH "+" AND STYLE IT WITH CSS***</li>
         expAll = 1
         noBlur = 1

         NO = 1
         NO.allWrap = <li>|</li>

         ACT <.NO
         ACT.allWrap = <li class="active"> | </li>
       }
     }


Hope it helps.

-- 
Ugodan dan
--
Toni Andrić
Open IT d.o.o.
Splitska 26
47000 Karlovac
--
Tel: +385(0)47 493 413
GSM: +385(0)91 406 2566
E-mail: toni.andric at openit.hr
--
www.openit.hr


More information about the TYPO3-english mailing list