0
I have to do an action when I hover the mouse over the image it appears in a modal (bootstrap) with the image in a larger size.
The problem is that it keeps blinking non-stop, giving Hide and show when I’m with my mouse on top.
Someone would know a way to make it work... I’ve tried so many ways and nothing
<img onmouseleave="$('#myModal<?php echo $v_disco_virtual[$i]['disco_virtual_id']?>').modal('hide');" onmouseenter=" $('#myModal<?php echo $v_disco_virtual[$i]['disco_virtual_id']?>').modal().show()" id="teste" src="<?php echo $v_disco_virtual[$i]['disco_virtual_upload']; ?>" alt="image_produto.png">
This fiddle can help you (http://jsfiddle.net/DTcHh/4556/) only in a complete answer can I put it working, basically it uses bootstrap and is just add an image in the modal. If you don’t solve, just let me know
– Renan