CSSMenu with subnavigation up instead of down

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
dirkvdzanden
Forum Members
Forum Members
Posts: 10
Joined: Mon Feb 07, 2011 12:32 pm

CSSMenu with subnavigation up instead of down

Post by dirkvdzanden »

Recently i created a website with CMSMS. I used the standard cssmenu.tpl, with 'Navigation: CSSMenu - Horizontal' stylesheet. So far so good. It works fine. But the submenu is a drop-down menu, i want the submenu to pop-up above the head navigation. Is there anyone who has made something like this before, and can give me some advice?

I have:

a) Banner
b) Navigation
c) Content

At this moment the subnavigation goes down over the Content, i want the subnavigation to go up, over the banner.

Thanks in advance
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSSMenu with subnavigation up instead of down

Post by Dr.CSS »

You can do it, but, the menu items will be from the top down, first child of top menu item will be at the top of the drop up just like it is when it drop down and if the drop up is taller than the top of thew page it will go under the top of the browser...

So if you can live with these constraints it is very much doable...
dirkvdzanden
Forum Members
Forum Members
Posts: 10
Joined: Mon Feb 07, 2011 12:32 pm

Re: CSSMenu with subnavigation up instead of down

Post by dirkvdzanden »

Yes i can live with that. Can you give me an example for this? Maybe a site that uses this in combination with CMSMS? Or can you tell what i need to change in the standard CSS?

Thanks in advance!
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: CSSMenu with subnavigation up instead of down

Post by Nullig »

Here's a working example - you can see in the source code the CSS used:

http://www.pmob.co.uk/temp/dropup3.htm

And here's some discussion of it

http://www.sitepoint.com/forums/css-53/ ... 45275.html

Nullig
dirkvdzanden
Forum Members
Forum Members
Posts: 10
Joined: Mon Feb 07, 2011 12:32 pm

SOLVED Re: CSSMenu with subnavigation up instead of down

Post by dirkvdzanden »

Thanks, this topic is solved!
Post Reply

Return to “Layout and Design (CSS & HTML)”