1
I found a code to pass the mouse and show a text, I would like to show a photo.
It can be done with css or javascript but I don’t know the part of the photo. like this
<style>
#mostrar{<br />
display:none;<br />
}<br />
</style>
<div id="passar_mouse">Passar o mouse</div>
<div id="mostrar">http://tcgbrasil.com/wp-content/uploads/2017/08/Sem-Título-1-600x600.png</div>
<script>
$('#passar_mouse').mouseover(function(){
$('#mostrar').css('display', 'block');
});
$('#passar_mouse').mouseout(function(){
$('#mostrar').css('display', 'none');
});
</script>
But I would like the image to appear floating, I will show you what I already have , however it is a wordpress plugin.
Thank you, I think this one will suit me.
– felipe
Mine doesn’t keep following the mouse.
– felipe
are you sure ? is that here everything works
– 13dev