You could use the onclick event (that I assume initiates the ajax request)
to also set the css 'display' of the submenus to 'none'.

On Mon, May 25, 2009 at 1:50 AM, [email protected] <
[email protected]> wrote:

>
> Hi,
>
> On May 24, 1:27 pm, Andrew Baughman <[email protected]> wrote:
> > To clarify what you are trying to accomplish...when you hover over a main
> > menu item, you do not want the sub menu to display? Or you do want the
> sub
> > menu to display, but using javascript rather than css?
>
> Actually, I want to achieve something different. Let s assume the user
> clicks on a menu item in the third level of my menu tree, that means
> several submenus were opened by css hover effect. Clicking that menu
> item triggers an ajax request, which updates the content below the
> menu bar, but not the menu bar itself. The content gets replaced, but
> unfortuently the submenus are still visibile. If I move the mouse away
> the submenus will close. I would like get that effect without moving
> the mouse away.
>
> --
> Volker
> >
>


-- 
Thanks,
Andy Baughman

--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to