I have a horizontal menu of the type list. with jquery it occurred to me to add a hover effect in the elements that are still in development, I copy a sample from the list:
<li>Busca Evento <img src="img/flechita.png" width="13" height="12">
<ul style="display:none">
<li id="xUnidad" onclick="Asigno_Tipo_Consulta('xUnidad')"><a class="opciones" id="unidad" href="#">Unidad cero</a></li>
<li onclick="Asigno_Tipo_Consulta('xLugar')"><a class="opciones" id="lugar" href="#">Lugar seleccionado</a></li>
<li onclick="Asigno_Tipo_Consulta('xEstilo')"><a class="opciones" id="estilo" href="#">Estilo elegido</a></li>
</ul>
</li>
The idea was that when passing with the courses or finger (it is for a cell phone) the text becomes "In development".
I made the following script:
$('#bill').hover (function(){
$('#xunidad').css("background-color", "#2263C2");
$('#Unidad').text ('En Desarrollo !');
}, function(){
$('#xUnidad').css("background-color", "black");
$('#unidad').text ('Unidad Cero');
});
The issue is that in chrome when I visualize in normal or desktop mode it works correctly, when I use F12 and use the toggle device toolbar to simulate a Galaxy S5, the hover stops working. I add that at the beginning I had added the hover for css but the same thing happened. Any ideas that can be?