Page 1 of 1

CSSMenu with subnavigation up instead of down

Posted: Wed Apr 20, 2011 11:41 am
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

Re: CSSMenu with subnavigation up instead of down

Posted: Wed Apr 20, 2011 7:45 pm
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...

Re: CSSMenu with subnavigation up instead of down

Posted: Fri Apr 22, 2011 6:47 am
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!

Re: CSSMenu with subnavigation up instead of down

Posted: Fri Apr 22, 2011 1:46 pm
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

SOLVED Re: CSSMenu with subnavigation up instead of down

Posted: Mon May 09, 2011 8:58 am
by dirkvdzanden
Thanks, this topic is solved!