Sent by Christian Heilmann on 10 August 2005 14:02
On 8/10/05, dimpie [EMAIL-REMOVED]> wrote:
> I would like to be able create a menu with several levels (submenu's) that does the folowing:
> If you hover over the toplevel the submenu should expand and stay visible when you remove the
mouse from it.
> When you hover over the top menu again, the submenu should close.
> I was wondering it this is possible with CSS only?
> Here is an example http://www.hoogvliet.com/ of what I'd like to achieve.
> If you hover over 'Over Hoogvliet' the submenu expands and stays open if you remove the mouse
cursor.
No. CSS cannot keep a state, and can only show and hide everything
inside the element the cursor is currently on. This effect can be
easily done with JavaScript though.
--
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/