As title says - I have a little, but annoying problem and cannot seem to find a solution, perhaps someone can help me:
I have a navigation bar with some subcategory menus that drop down on hover, when clicked on subcategory the page loads via AJAX, so the page top including menu does not reload, all works fine on desktop, but on the phone the drop down (which displays on hover), does not disappear when clicked on, but instead stays on all the time (no mouse on phone, so cursor stays on it I guess.)
Code example:
<ul id="myUL">
<li id="first_item"><a href="#"> More names</a>
<div class="subcategories" style="display:none;">
<ul>
<li><a href="#">name 1</a></li>
<li><a href="#">name 2</a></li>
....
</ul>
</div>
</li>
<li><a href="#">Agnes</a></li>
<li><a href="#">Billy</a></li>
<li><a href="#">Bob</a></li>
<li><a href="#">Calvin</a></li>
<li><a href="#">Christina</a></li>
<li><a href="#">Cindy</a></li>
</ul>
style.css
#myUL #first_item:hover .subcategories
{
display:block;
}
Is there a way to move cursor to a different location on screen or do you know of any other solution?