[TYPO3-english] menu not disappearing with Templavoila(?)
Philipp Gampe
phil at philippgampe.info
Tue Dec 22 22:57:52 CET 2009
Am 22.12.2009, 22:38 Uhr, schrieb La Farge Douglas
<doug at gcnpublishing.com>:
> Hi Phil,
>
> thank you for the reply.
>
> To answer your initial question as to why I use this JS - when I took my
> current position as a T3 developer for my company this is what we used
> (two years ago). So I inherited the said scripts.
>
> I've considered switching and the bugs you mention may be the final
> impetus for doing so.
>
> This menu looks like it does what we want (does it allow for a back
> ground image at the top level)?
> http://www.cssplay.co.uk/menus/anywidth2.html
>
> My question - and where I'm sure I'd get stuck is how to roll it out as
> a Typo3 TScript template. might you have an example of that?
>
> thank you,
> doug
it is pure TS based, and most menus look very like the same from a html
point of view... so what is needed is a change in TS mostly ...
page.5 = TEXT
page.5.value = <!--[if lte IE 7]><style type="text/css">#menu ul
{display:inline;}</style><![endif]-->
# main Menu
page.10 = HMENU
page.10 {
#entryLevel = 0
special = directory
special.value = 4
wrap = <div id="menu">|</div>
1 = TMENU
1 {
wrap = <ul class="level1">|</ul>
expAll = 1
noBlur = 1
showAccessRestrictedPages = 12
NO = 1
NO {
wrapItemAndSub = <li class="level1-li">|</li>
ATagTitle.field = title // abstract // description
ATagParams = class="level1-a"
} #page.10.1.NO
IFSUB < .NO
IFSUB {
ATagParams = class="level1-a fly"
stdWrap.wrap = |<!--[if gte IE 7]><!-->
stdWrap2.wrap = |<!--<![endif]-->
} #page.10.1.IFSUB
} #page.10.1
2 < .1
2 {
wrap = <!--[if lte IE 6]><table><tr><td><![endif]--> <ul
class="level2">|</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
NO.ATagParams >
NO.wrapItemAndSub = <li>|</li>
IFSUB.ATagParams = class="fly"
IFSUB.wrapItemAndSub = <li>|</li>
} #page.10.2
3 < .2
3 {
wrap = <!--[if lte IE 6]><table><tr><td><![endif]--> <ul
class="level3">|</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
} #page.10.3
4 < .2
4 {
wrap = <!--[if lte IE 6]><table><tr><td><![endif]--> <ul
class="level4">|</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
} #page.10.4
} #page.10
you can find if working here:
http://typo3.philippgampe.info
Best regards
Phil
More information about the TYPO3-english
mailing list