Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery Problem Mouseover the 2nd
    text
    copied!<p>i have a Menu with the following Code:</p> <pre><code> &lt;div id="head_navigation"&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="javascript:void(0);"&gt;&lt;img src="img/start.jpg" width="57" height="40" title="start" alt="" /&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="javascript:void(0);"&gt;&lt;img src="img/favoriten.jpg" width="87" height="40" title="favoriten" alt="" /&gt;&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;div id="head_subnavigation"&gt; &lt;ul id="start" class="hidden"&gt; &lt;li&gt;&lt;div class="button"&gt;&lt;a href="javascript:void(0)" onclick="cwload('arztauswertung.html','start');" title="Rezeptsuche"&gt;&lt;img src="img/icons/icon_rezeptsuche_on.png" width="50" height="62" alt="Rezeptsuche" /&gt;&lt;br /&gt;Rezeptsuche&lt;/a&gt;&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div class="button"&gt;&lt;a href="javascript:void(0)" onclick="cwload('arztauswertung.html','start');"&gt;&lt;img src="img/icons/icon_zuzahlung_on.png" width="50" height="62" alt="Zuzahlung" /&gt;&lt;br /&gt;Zuzahlung&lt;/a&gt;&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div class="button"&gt;&lt;a href="javascript:void(0)" onclick="cwload('arztauswertung.html','start');"&gt;&lt;img src="img/icons/icon_abrechnung_on.png" width="50" height="62" alt="Abrechnung" /&gt;&lt;br /&gt;Abrechnung&lt;/a&gt;&lt;/div&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </code></pre> <p>'#head_subnavigation' has the CSS "display:none". When i hover Image with Title "start", then the &lt; ul > with ID "start" is shown. And so on. </p> <p>It works fine, but my Problem is "Mouseout". When i use Mouseout Event for the '#head_navigation', then my subnavigation dissapears when i want to hover the li items on the submenu. You understand what i mean???</p> <p>How can i use Mouseout only when i jump to another li Item in the "head_navigation" div or on Mouseout the '#head_subnavigation' div, <strong>BUT NOT when i move with the mouse from 'head_navigation' to 'head_subnavigation'</strong> ??? Can anyone help? Have tried a lot of things - nothing really works... :(</p> <p>Thanks for that.</p> <p>Greetings, Sascha</p> <h2>CLARIFICATION</h2> <p>I have a nested navigation menu where the sub-navigation is displayed <strong>onmouseover</strong> of the image $('#head_navigation img') based on the <em>title</em> attribute.</p> <p>I would like the sub-navigation to remain open until I <strong>mouse out</strong> of either the sub navigation or the image.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload