[TYPO3] navigation menu display problem

Christopher Torgalson bedlamhotel at gmail.com
Thu Jul 3 19:46:50 CEST 2008


Hi,

2008/7/3 LinTong <pcu84424 at hotmail.com>:
> hallo everybody
>
> I want to have a navigation menu which looks like:
>
> Homepage / Organisation / level3 / level 4 / currentlevel
>
> the typoscript:
> **********
> lib.topNav = HMENUlib.topNav.special = rootlinelib.topNav.special.range = 0lib.topNav.1 = TMENUlib.topNav.1 {        noBlur = 1        NO.linkWrap = | / |*||*| |        NO.stdWrap.htmlSpecialChars = 1        CUR = 1        CUR.allWrap = <span>|</span>        CUR.doNotLinkIt = 1}**********
> It works fine in IE but in firefox it have a strange problem. Homepage works fine.Organisation, level3, level4 looks like a link but you can not click them.one can click the "O" of the Organisation but can not click the other letter of organisation.
>
> the source code in firefox
> *********
> <ul><a href="index.php?id=1" >Homepage</a> / <a href="index.php?id=cetest_firstpage" >Organisations</a> / <a href="index.php?id=21" >level3</a> / <a href="index.php?id=23" >level4</a> / <span>Institute 1</span></ul>
> **********
>
>
> the source code in IE
> *********
> <A href="index.php?id=1">Homepage</A> / <A href="index.php?id=cetest_firstpage">Organisations</A> / <A href="index.php?id=21">level3</A> / <A href="index.php?id=23">level4</A> / <SPAN>Institute1</SPAN>
> *********


Please, *please* do something about your mail client or whatever it is
that makes your messages so garbled. They're frequently formatted with
few if any newlines, and are consequently almost impossible to
read--especially the code portions, see above.

Run your pages through the w3c's html validator, and fix the reported
problems, and I think you will find many of your problems disappear.

In your source code examples above, for example, you have links (<a
href="...">) as children of an unordered list (<ul>). This is
incorrect HTML, and the error-handling routines that browsers resort
to when they encounter such malformed HTML are unpredictable. I
suspect if you either (a) remove the <ul> wrap, or (b) enclose the
links in list items (<li>)--in other words if you correct the
HTML--that this particular problem will go away.

-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list