[TYPO3-dev] Did I just fix or break TMENU_LAYERS?
Christopher
bedlamhotel at gmail.com
Thu Apr 13 15:59:19 CEST 2006
On 4/13/06, Michael Stucki <michael at typo3.org> wrote:
> Hi Peter,
>
> > ? An improved version of TMENU_LAYERS would be such a charme for TYPO3.
> > ;) IMHO this discussion quite likely belongs here because it tells about
> > the troubles (and needed changes) to a provided php-file.
>
> I would rather prefer to mark it as obsolete and leave it as it is. Using
> CSS capabilities there are much better ways to create a layer menue.
>
+1
### TS for a four-level flyout menu based on htmldog's 'Son of suckerfish' ###
page.headerData {
5 = HTML
5 {
### Call the .js file for suckerfish menus for any IE Win:
###
value = <script type="text/javascript"
src="fileadmin/js/suckerfish.js"></script>
value {
wrap = <!--[if IE]>|<![endif]-->
}
}
}
lib.mainNavigation = HMENU
lib.mainNavigation {
wrap = <ul id="mainNavigation">|</ul>
1 = TMENU
1 {
noBlur = 1
expAll = 1
NO = 1
NO {
wrapItemAndSub = <li>|</li>
}
}
2 < .1
2.wrap = <ul>|</ul>
3 < .2
4 < .2
}
### End TS ###
I should point out though that it would be difficult in TYPO3 to do a
menu like this with _images_ using CSS only (i.e. if you wanted to use
TMENU and image replacement techniques)...
-Christopher
More information about the TYPO3-dev
mailing list