Results 1 to 3 of 3

Thread: Floating menu bar?

  1. #1
    Join Date
    Jun 2005
    Location
    Canada
    Posts
    68
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Default Floating menu bar?

    I am using a LiveMenu script for a horizontal menu bar and before I get into a lengthy dissertation with code snippets, I need to know if it is possible to have the drop downs open on the left when a menu is at the right end of the page. Currently, the item at the far right bleeds past the right page border and I need it to drop to the left so it is visible.
    Is this something that is altered in CSS or in the javascript and what do I look for in the coding?

    Many thanks
    D

  2. #2
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    This is a 'viewport' problem. The script should know when a subitem appears outside the visible part of the screen and then recalculate the left position based on its width.
    Google around using menu, reposition, and outside viewport.
    ===
    Arie Molendijk.
    Last edited by molendijk; 11-30-2011 at 11:55 PM. Reason: Correction

  3. #3
    Join Date
    Jun 2005
    Location
    Canada
    Posts
    68
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Default

    That is great...thank you for the guidance molendijk

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •