Results 1 to 9 of 9

Thread: Arrows Hover Over the Menu

  1. #1
    Join Date
    Nov 2008
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Arrows Hover Over the Menu

    Smooth Menu: dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm

    Layout: dynamicdrive.com/style/layouts/item/css-liquid-layout-22-fluid-fixed/

    We need to have the menu fill the page 100% and be fluid.

    The arrows hover over the left of the drop downs and cover the top menu as the window size adjusts.

    Do I need to define each drop down box or decrease the boxes?

    Also, any fixes for IE6 would be helpful.

    I am trying to get the site to work in IE6 and modern browsers.
    Last edited by webskipper; 04-16-2009 at 07:40 PM.

  2. #2
    Join Date
    Nov 2008
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Anyone?

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    It seems one of the issues with the arrows stems from the fact that you've set a fixed width for each of the menu items, or the line in red below:

    Code:
    .ddsmoothmenu ul li
    {
    	position: relative;
    	display: inline;
    	float: left;
    	width: 8.333%;
    	white-space: nowrap;
    
    }
    Try removing that, then adjust the position of the arrow image so it's further down from its baseline:

    Code:
    .downarrowclass{
    position: absolute;
    top: 12px;
    right: 2px;
    }
    DD Admin

  4. #4
    Join Date
    Nov 2008
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you for your reply, We are going backwards.

    The width is there to get the menu to fill the width and be fluid. Without it, it sits left. That does not look correct.

    Moving the arrows does nothing because they overlap the menu items as you adjust the window.

    I believe what the issue is, is cramming too many items in the menu. Most sites have a few items that will drop down and my users cry when all 350 pages are not in the menu.
    Last edited by webskipper; 04-15-2009 at 04:02 AM.

  5. #5
    Join Date
    Nov 2008
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Fixed it.

    I had to define each UL LI. Home and Back buttons are defined in pixels, the middles are percentages. Now how do we prevent wrapping? Min-Width is not controlling wrapping?

    .ddsmoothmenua
    {
    position: relative;
    display: inline;
    float: left;
    white-space: nowrap;
    text-transform: uppercase;
    width: 55px;
    border-right: 1px #000 inset;
    }

    .ddsmoothmenub
    {
    position: relative;
    display: inline;
    float: left;
    white-space: nowrap;
    text-transform: uppercase;
    width: 9%;
    border-right: 1px #000 inset;
    }

  6. #6
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmm if the menu's width is fluid, it's hard to specify that it shouldn't wrap when the page is resized, since the two are contradictory. You can try using using "min-width" inside the menu class to set the minimum width the menu must consist of, though this property is buggy in certain versions of IE.
    DD Admin

  7. #7
    Join Date
    Nov 2008
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    What is the best route to take here?

  8. #8
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    This falls into one of those "try a few things and see which one works" CSS hacks sort of issue. I wouldn't be able to tell you right off the bat a 100% fool proof method- it'll take some experimenting on your part with the CSS.
    DD Admin

  9. #9
    Join Date
    Nov 2008
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Urgent Help Needed

    Urgent:

    In IE7 today, the hover creates spaces and the cursor will hit these and turn off the drop down menu.

    It is not working in IE7. You loose the whole menu after about 3 down.

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
  •