samedi 24 octobre 2020

Display an image at cursor postition when mouse hovers over a link

I have a list of a few navigation links on my website. I want to display a small image from my website repository at the position of cursor, when the visitor hovers over the link. Is there a relatively simple way to achieve this with css, javascript, jQuery or a combination of them? Thank you for your help!

<body>

<div class="title">
  <h1><a href="page1.html">Link 1</a></h3>
</div>

<div class="title">
  <h1><a href="page2.html">Link 2</a></h3>
</div>

<div class="title">
  <h1><a href="page2.html">Link 2</a></h3>
</div>

</body>



Aucun commentaire:

Enregistrer un commentaire