Results 1 to 2 of 2

Thread: hvmenu center alignment issue depending on length of page

  1. #1
    Join Date
    Jan 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default hvmenu center alignment issue depending on length of page

    1) Script Title: HV Menu v5.5

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...menu/index.htm

    3) Describe problem:

    I'm trying to use the HV Menu on a page with center alignment. Most of my pages will be very long, requiring the scroll bar to appear on the right of the browser window. When I center the hvmenu, it is off by a couple of pixels (varies by browser but approximately 7-8). So to compensate for this I set the following: MenuCentered='center' and StartLeft=-8. This mickey mouse approach doesn't really work across all current browsers and definitely becomes a problem with shorter pages that don't require the scroll bar to appear. Here are some examples:

    Longer page with scroll bar:
    http://www.medxchange.com/dev/test/MXCnavtest1.cfm

    Shorter page with no scroll bar (using all of the same settings from above - just less content on the page):
    http://www.medxchange.com/dev/test/MXCnavtest2.cfm

    Here's where I have the rest of my files:
    http://www.medxchange.com/dev/naviga...mplmenu_var.js
    http://www.medxchange.com/dev/navigation/menu_com.js

    I'm kind of stuck. I've been playing with it all morning and can't figure out a way to make this work across multiple browsers. I know that it's the scroll bar causing the problem. If you look at the example of the shorter page and make your browser window small enough to make the scroll bar appear, then the page will display correctly. So how do I make the page always display correctly regardless of the scroll bar?

    Thanks in advance for your help!
    Last edited by whoisparker; 02-02-2009 at 05:08 PM.

  2. #2
    Join Date
    Jan 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Could still use help with the HV Menu

    I noticed that a lot of people have viewed my post, but I've yet to receive any replies. I could still use some help with the issue described above. Any assistance would be appreciated. Thanks very much!

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
  •