Hi there I want to ask if it is possible to have an image list and everytime I hover on one of them it will display on another div and will not disappear.
Take a look on the picture below instead of clicking the list of image I want to hover it and it will display on the bigger div and will stay there. The hovered image will replace the displayed image
3
Answers
the key is to use "onmouseover" in html, if u want it to change after leaving use "onmouseleave"
You will need JS for this. On events
onmousenter
for the thumb you get src of the thumb and change src of the target picture andonmouseleave
you switch it back to original.Change the large image’s source to that of the hovered thumbnail.
EG: