I need to use the hover function and the click function (for mobile versions), in doing so they conflict and none is applied. Can someone help me? I attach the code:
HTML:
<div class="item-holder no-bg productcol3 detail-label">
<div class="inner-holder view view-ninth">
<div href="" id="yolomil">
<img src="http://sabatto.com.mx/images/2018/concepto/1FLO.jpg" class="" alt="">
</div>
</div>
<a href="{{URL::to("/catalogo/flo")}}" class="info-producto" style="display:none;">
<span class="info-label">COLECCIÓN LILIS </span>
</a>
<a href="/Catalogo_Lilis.pdf" class="info-producto" target="_blank" style="margin-top:36%; display:none;" onclick="ga('send', 'event', 'Descarga', 'PDF', 'Catalogo Lilis')">
<span class="info-label"> Descarga PDF Catálogo Lilis </span>
</a>
</div>
CSS:
.info-producto{
background: rgba(0, 0, 0, 0.5);
font-size: 14pt;
position: absolute;
right: 0%;
z-index: 100;
width: 100%;
height: 50%;
color: white;
padding: 10px;
text-align: center;
cursor: pointer;
}
.info-label{
color: white;
top: 40%;
z-index: 500;
position: relative;
font-weight: lighter;
text-transform: uppercase;
}
JS:
'$(document).ready(function() {
$(".detail-label").bind('click mouseover', function () {
$( $(this).find('.info-producto') ).fadeIn( 200 );
$( $(this).find('.info-label') ).fadeIn( 200 );
});
}'