• # March 21, 2009 at 10:52 am


    I’m trying to do a special kind of horizontal menu and I need some help.

    The menu should have:

    – 1 sublevel
    – the sublevel items should appear only when I hover over the mainmenu items
    – the sublevel items should stay at one position (on the left) and not move absolutely with/to the mainmenu items

    I don’t know how to do the third point. Every menu I’ve found has these absolutly positioned submenu items.

    I’ve been searching around the web for a solution to this. I’ve just found this viewtopic.php?f=2&t=1926&p=9315 which is kind of close. I would appreciate if someone could push me in the right direction and make a suggestion what I need to do to work with this approach to tweak it for my purpose.

    # March 21, 2009 at 11:44 am

    This reply has been reported for inappropriate content.

    Not really sure what you are trying to do. If I understand correctly then you want your submenu to appear somewhere else on the page when an item on the main menu is hovered over? The most obvious problem I see there is that using just CSS, :hover has only 2 states, ie. you are either hovering over something or you are not. So you hover over an item on your main menu and the submenu appears elsewhere, as soon as you move your cursor away from the main menu towards the submenu, you will no longer be hovering and the sub menu will disappear!
    I would suggest looking at a javscript (jQuery?) solution. Or I have misunderstood completely.

    # March 21, 2009 at 12:11 pm

    Thanks for your answer.

    I found something that brought me further, like this:

    Guess I just did my research a bit sloppy.

    # March 21, 2009 at 12:40 pm

    This reply has been reported for inappropriate content.

    Ahh. I see. I had the wrong end of the stick :oops:

    Glad you found what you needed.

    # March 21, 2009 at 12:45 pm

    I’m not sure I 100% understand either but the first thing I thought of was Stu’s droplines:

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.