[TYPO3] unordered list HMENU

Vandemaele David david.vandemaele at telenet.be
Thu May 18 10:45:20 CEST 2006


I've managed to write some typoscript to create an unordered list.
However, it only shows the 2nd level after I clicked on a 1st level item.

I want my TScript to show them all. My javascript handles the visibility 
issue.

############### Dynamic menu ###############
lib.menu_1 = HMENU
lib.menu_1{
  	1 = TMENU
  	1{
  		NO {
  			wrapItemAndSub = <li>|</li>
  		}
  	}
  	2 = TMENU
  	2.wrap = <ul>|</ul>
  	2 {
  		NO{
  			wrapItemAndSub = <li>|</li>
  		}
  	}
  	3 = TMENU
  	3.wrap = <ul>|</ul>
  	3 {
  		NO{
  			wrapItemAndSub = <li>|</li>
  		}
  	}
}

David



More information about the TYPO3-english mailing list