Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multi-level navigation and easy menu definition
#32
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:
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
Reply


Messages In This Thread
Multi-level navigation and easy menu definition - by sciera - 2011-06-08, 11:28:51



Users browsing this thread: 1 Guest(s)