floating menu

Discussion in 'Web Design and Development' started by Macnoviz, Sep 5, 2007.

  1. Macnoviz macrumors 65816


    Jan 10, 2006
    Roeselare, Belgium
    I was just wondering what your opinion was on "floating" menus, the ones that scroll along the webpage. I'm not very into all those do's and don'ts of webdesign, so could you guys enlighten me?
  2. angelwatt Moderator emeritus


    Aug 16, 2005
    I see two main categories for the floating menus, ones powered by Javascript (typical) and ones powered by CSS (not compatible with older IE). The JS kind I don't like because it's distracting because it always has to reposition itself as I scroll the page and I've left pages just because of it. The CSS ones don't have jerky movement (at least ones I've built don't) so they are fine with me. There can be some accessibility issues with it though for some screen readers since they're usually done by setting position:absolute, and those elements don't get read by the screen reader (not all screen readers behave this way).

    That's my 2¢.
  3. zarathustra macrumors 6502a


    Jul 16, 2002
    Philadelphia, PA
    Actually they are usually set by "position: fixed;"

    IE6 or earlier will ignore it and behave as if you used "position:absolute;"

    I assume that your page is semantically correct (you use the correct tag for the correct content) and that the design scales and gracefully degrades.

    In that case it is not a big deal if your navigation stays put (absolute) on browsers that don't support it, and behaves correctly on others. If it makes your site hard to or impossible to navigate, it should be avoided.
  4. jonnylink macrumors 6502

    Jul 15, 2007
    ....yeah, what he said.

Share This Page