Coowl, work great now, for the ones interested following the code etc.

CSS from http://ago.tanfa.co.uk/css/examples/menu/hs7.html:

<style type="text/css" media="screen">
/**************** menu coding *****************/
##menu {
width: 100%;
background: ##eee;
float: left;
}

##menu ul {
list-style: none;
margin: 0;
padding: 0;
width: 100%;
float: left;
}

##menu a, ##menu h2 {
font: bold 11px/16px arial, helvetica, sans-serif;
display: block;
border-width: 1px;
border-style: solid;
border-color: ##ccc ##888 ##555 ##bbb;
margin: 0;
padding: 2px 3px;
}

##menu h2 {
color: ##fff;
background: ##000;
text-transform: uppercase;
}

##menu a {
color: ##000;
background: ##efefef;
text-decoration: none;
}

##menu a:hover {
color: ##a00;
background: ##fff;
}

##menu li {
        text-align:center;
        position: relative;
        float:left;
        width:150px;
}

##menu ul ul {
position: absolute;
z-index: 500;
}

##menu ul ul ul {
position: absolute;
top: 0;
left: 100%;
}

div##menu ul ul,
div##menu ul li:hover ul ul,
div##menu ul ul li:hover ul ul
{display: none;}

div##menu ul li:hover ul,
div##menu ul ul li:hover ul,
div##menu ul ul ul li:hover ul
{display: block;}

</style>
<!--[if IE]>
<style type="text/css" media="screen">
 ##menu ul li {float: left; width: 150px;}
</style>
<![endif]-->
<!--[if lt IE 7]>
<style type="text/css" media="screen">
body {
behavior: url(csshover.htc);
font-size: 100%;
}

##menu ul li a {height: 1%;}

##menu a, ##menu h2 {
font: bold 0.7em/1.4em arial, helvetica, sans-serif;
}
</style>
<![endif]-->

Example wrapped horizontal nav by tip off Chris:

<div id="menu">

<skin:genericNav navID="#application.navid.home#"
                                                id="nav"
                                                depth="4"
                                                bActive="true"
                                                bIncludeHome="true">
</div>

Thanks.

On Nov 27, 8:19 pm, Marco van den Oever <[email protected]>
wrote:
> Mistake i was making is that i replaced the css id name with nav....
> working as you suggested indeed generates the menu "almost" perfect,
> so indeed wrapping with div with css id was the trick....
>
> On Nov 27, 8:09 pm, Marco van den Oever <[email protected]>
> wrote:
>
> > Cool, I'll go and check that link and try your suggestions, thanks for
> > you help.
>
> > On Nov 27, 7:51 pm, Chris Kent <[email protected]> wrote:
>
> > > Marco,
>
> > > You should be able to use the genericNav webskin to generate the
> > > required html to drive the menu. Add the required css/js.
>
> > > I have always had good results using Project Seven menus - 
> > > seehttp://www.projectseven.com/products/menusystems/pmm2/index.htmfora
> > > multi-level menu. This one does require some slight changes to
> > > genericNav to create the html.
>
> > > Most unordered list menus should work without any modification - check
> > > the parameters you can pass into genericNav and the example you're
> > > using should work using genericNav just wrap it in div with an id of
> > > "menu". You may need to make a slight change ti genericNav to make tho
> > > top level items H2's, if so copy genericNav into your project.
>
> > > Chris.
>
> > > On Nov 27, 6:15 pm, Marco van den Oever <[email protected]>
> > > wrote:
>
> > > > Hi guys, i can't seem to integrate a multi level CSS menu, i am trying
> > > > to follow the example from:
>
> > > >http://ago.tanfa.co.uk/css/examples/menu/hs7.html
>
> > > > Can anyone help me by providing a CSS sample, as soon as i try to
> > > > integrate it in farcry i get lost...
>
> > > > Thanks.

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to