Lazy Loading with Hover
-
Hi Florian,
I was reading the plugin description on GitHub. In this chapter it is mentioned that it
detects any changes to the visibility of any current and future image elements automatically no matter whether it becomes visible through a user scroll, a CSS animation triggered through :hover
So I gave it a try lazy loading an image that is visible through :hover. I added
class "lazyload"anddata-src=. Unfortunately Lazy Loader loads the image from the server after hover and not before hover (tested with DevTools – Network).I would like to know if this is Lazy Loader normal behaviour and these are the limits. Or if I am doing something wrong here and can be fixed.
My test page is here. If you hover the “Analyses” element it will load an image named “Test2”.
Thank you,
Andrei
The topic ‘Lazy Loading with Hover’ is closed to new replies.