Jump to content

css flyout levels hover - keep alive the title hover


Recommended Posts

Hello

 

html

<dl class="dropdown1">
  <dt id="one-ddheader" onmouseover="ddMenu('one',1)" onmouseout="ddMenu('one',-1)"></dt>
  <dd id="one-ddcontent" onmouseover="cancelHide('one')" onmouseout="ddMenu('one',-1)">
    <ul>
      <li><a href="test.html">test</a></li>
    </ul>
  </dd>
</dl>

 

css

.dropdown1 {float:left; padding-right:0px}
.dropdown1 dt {width:82px; padding:16px; font-weight:bold; cursor:pointer; background:url(../images/btn_header.jpg)}
.dropdown1 dt:hover {background:url(../images/btn_header_over.jpg)}
.dropdown1 dd {position:absolute; overflow:hidden; width:208px; display:none; z-index:200; opacity:0}
.dropdown1 ul {width:204px; list-style:none; border-top:none}
.dropdown1 li {display:inline}
.dropdown1 a, .dropdown a:active, .dropdown a:visited {display:block; padding:5px; color:#333; text-decoration:none; background:#FFFFFF; width:194px;}
.dropdown1 a:hover {background:#ccffcc; color:#000; text-decoration:none;}
.dropdown1 .underline {border-bottom:0px solid #b9d6dc}

 

and all I want is to keep activated this (dt:hover {background:url(../images/btn_header_over.jpg)}) when I rollover the sub menus,

thanks in advance

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.