Luke,<div><br></div><div>Thanks so much. Your suggestion at the bottom was perfect. It didn&#39;t bring the effect I was going for, but it produced a really clean look. My concept there was unnecessarily complex and the results that came about from your suggestion are perfect.</div>
<div><br></div><div>Shai<br><br><div class="gmail_quote">On Sat, Feb 27, 2010 at 6:58 PM, Luke <span dir="ltr">&lt;<a href="mailto:drupal@lists.tacticus.com">drupal@lists.tacticus.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
(Don&#39;t get your hopes up--this is probably not an answer)<br>
<div class="im"><br>
On Fri, 26 Feb 2010, Shai Gluskin wrote:<br>
<br>
&gt; I&#39;m using nice menus. Primary nav has a background for a hover state. Some<br>
&gt; of the primary navs have children which are drop-downs as implemented via<br>
&gt; Nice Menus.<br>
&gt;<br>
&gt; The problem I am having is that I want the hover state for the primary nav<br>
&gt; to stick when using the drop down. Right now, when you mouse down over the<br>
&gt; dropdown links the hover state disappears.<br>
&gt;<br>
&gt; The relevant css is:<br>
&gt;<br>
&gt; #primary ul a {<br>
&gt; background-color: #ffffff;<br>
&gt; }<br>
&gt;<br>
&gt; #primary ul a:hover {<br>
&gt;  background-color: #e7e7e7; // I want this declaration to stick, even when<br>
&gt; the children are being hovered over!<br>
&gt; }<br>
<br>
</div>If you mean what I think you mean, I have not heard of a way to do this in<br>
CSS. Maybe some javascript to run onmouseover of the children, which<br>
temporarily changes the main &quot;#primary ul a&quot; element, switching<br>
&quot;background-color: #ffffff;&quot; for &quot;background-color: #e7e7e7;&quot;?<br>
<div class="im"><br>
&gt; #primary ul li ul li a {<br>
&gt;  background-color: #e7e7e7;<br>
&gt; }<br>
&gt;<br>
&gt; #primary ul li ul li a:hover {<br>
&gt;  color: #ffffff;<br>
&gt;  background-color: #0f6cb6;<br>
&gt;  }<br>
<br>
</div>I&#39;m a little lost here, having not used the module and being a little<br>
rusty on my CSS, but would deleting this last block do it for you?<br>
<br>
Luke<br>
<font color="#888888">--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br></div>