2011-06-08, 11:28:51
hi, it's my first post
at the beginning I would like to thank you for a greate plugin
but a have a problem
My menu now works almost perfectly, but there is one little thing I want to change, but do not know how
What i want:
When i am on home page and the submenu is closed and i hover "nad" then the submenu open ( "pod" would be visible) and when I move the mouse somewhere sub then menu would close.
my temp page : http://przychodniatest.cba.pl/
my menu css:
thanks in advance for your help
at the beginning I would like to thank you for a greate plugin
but a have a problem
My menu now works almost perfectly, but there is one little thing I want to change, but do not know how
What i want:
When i am on home page and the submenu is closed and i hover "nad" then the submenu open ( "pod" would be visible) and when I move the mouse somewhere sub then menu would close.
my temp page : http://przychodniatest.cba.pl/
my menu css:
Code:
.sitemenu {
position: relative; /* !!! */
height: 1.4em; /* make sure whole menu texts are shown */
background-color: #ECECEC;
}
.sitemenu ul {
position: absolute;
list-style: none;
}
.sitemenu li {
float: left; /* !!! */
padding: 2px 10px;
width: 8em;
}
.sitemenu li.current > a, .sitemenu li.currentpath > a {
font-weight: 800;
}
.sitemenu li > a {
color: #666;
text-decoration: none;
border-bottom: none;
}
.sitemenu li:hover > a {
color: #92BF92;
}
.sitemenu li ul {
display: none;
}
.sitemenu li:hover ul{
display: block; }
.sitemenu li.current ul, .sitemenu li.currentpath ul {
display:block
}
.sitemenu li ul li {
float: none;
}
.sitemenu li:hover ul li {
background-color: #ECECEC;
border: none 0;
display:block;
}
thanks in advance for your help