html - Change image when hovering over li and keep that image permanent using CSS -


for life of me can't figure out. there image place holder loads on page visit. when hover on option 1, 2 or 3 new image takes place , becomes permanent until hover option. possible?

<div> [image - loads on visit] [image 2- hidden until hover on li] [image 3- hidden until hover on li] </div>    <div> <ul> <li>option 1</li> <li>option 2</li> <li>option 3</li> </ul> </div> 

here way jquery. have load in own images see work.

here working fiddle!

https://jsfiddle.net/ur7tns7l/

i took away

    $(#element).on("mouseleave",function(){   }); 

this makes image permanent until hovered over.


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -