Eureak! The joys of posting back a question and then suddenly figuring
out the solution :p

This works fine:-

#nav li.active ul {
display: block;
}
#nav li ul {
display: none;
}

Thanks for your help.

On Nov 6, 3:50 pm, BazD <[EMAIL PROTECTED]> wrote:
> Thanks Ste. Ive dropped in the CSS youve sent, but no joy.
>
> Heres the actual HTML that is output to the browser:-
>
> <ul id="nav">
>   <li><a href="/">Home</a></li>
>   <li class="parent active"><a href="/go/welcome">Welcome</a>
>     <ul>
>         <li><a href="/go/welcome/test">Test</a></li>
>         <li><a href="/go/welcome/help">help</a></li>
>     </ul>
>   </li>
>   <li><a href="/go/locations">Locations</a></li>
> </ul>
>
> The site is developed locally at the moment, so the above is best I
> can come up with for the time being.
>
> On Nov 6, 3:21 pm, "Stephen Moretti" <[EMAIL PROTECTED]>
> wrote:
>
> > On 06/11/2007, BazD <[EMAIL PROTECTED]> wrote:
>
> > > The only thing I cant figure out is how to make it so that the Sub Nav
> > > 1 and Sub Nav 2 appear only when "Welcome" or  "Sub Nav 1" or "Sub Nav
> > > 2" are active (but not on roll over)
>
> > > Any ideas on how can I achieve this ?
>
> > Well....  Welcome will have the active class associated with it, so what you
> > could do is :
>
> > #nav ul li.active ul {display:block}
>
> > and
>
> > #nav ul li ul {display:none}
>
> > But this complete guess work.... Any chance of a URL to look at?
>
> > Stephen


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to