[TYPO3-dev] About dynamic menus

Christopher bedlamhotel at gmail.com
Tue Aug 29 18:23:16 CEST 2006


Hi,

On 8/29/06, Tapio Markula <tapio.markula at dnainternet.net> wrote:
> Sebastian Kurfuerst kirjoitti:
> > Hi Tapio,
> >
> > what is a "suckerfish" menu?
> >
> > Greets, Sebastian
>
> Dynamic dropdown menu, which uses instead of DIV elements
> UL + LI elements + CSS. For MS IE some extra JavaScript,
> which Firefox and some other browsers don't need.
>
> Should work like normal DHTML-menus, but at least
> the version, which pixe_feediting uses,
> doesn't work properly in MS IE 6.0.

Almost true--as much as I like CSS-only menus, they are prone to a
problem that js-DOM menus are not: because you can't instruct the
:hover state to persist some milliseconds even if the pointer moves
away from the active area, they frequently collapse if the pointer
moves off the link even very slightly (which sounds a lot like the
reported problem).

This is frequently exacerbated by how the menus are styled; in
general, the 'flyout' menus should be so positioned as to overlap the
parent link to a fairly significant degree, but if they are _not_,
they may collapse when the pointer moves over the gap between the two
menus.

Tapio I haven't used this extension, but if there is _any_ gap,
however small, between the different 'flyout' parts of the menu, this
will make the menus really hard to use. If you think this is might be
related to your problem, you can try to alter the css used by the menu
so that the child menus overlap their parents somewhat.

By the way, since you mention the problem is IE 6, you should also
check for conflicts with

a) the other stylesheets being used on the page (though, in general, I
would expect stylesheet-related conflicts to cause problems in other
browsers too), or

b) javascript conflicts (in IE 6 suckerfish menus rely entirely on
javascript, so it could be that another script is somehow
interfering).

Finally, I should mention that of all the CSS-only menu systems out
there (suckerfish, son-of-suckerfish, whatever:hover etc), I've had
the best luck with son-of-suckerfish [1]

-Christopher


[1] http://www.htmldog.com/articles/suckerfish/dropdowns/




More information about the TYPO3-dev mailing list