Hi all,
I have created a simple css menu, which opens the submenu when the mouse hovers over the menu items. This goes a little too fast, so I want to change it into a click (onMouseUp I suppose) so the submenu items appear when one of the menu items is clicked. Is it possible with css to achieve this?
My css code:
[CODE]#menu li {list-style-type: none;}
#menu li a {text-decoration: none; color: #000000;}
#menu ul li:hover {position:relative; list-style-image:url(images/list1.png);}
#menu ul { line-height: 35px; font-size: 22px;}
/*submenu*/
#menu ul ul {
display: none;
position: relative;
line-height: 24px;
font-size: 18px;
list-style: disc;
}
#menu ul li:hover ul {display:block;}