I
I
InqSEO2020-03-09 10:56:22
JavaScript
InqSEO, 2020-03-09 10:56:22

How to load images on hover?

I use the SpriteSpin plugin to rotate images. The problem is that it loads all the images on page load, which significantly increases the time.
Tell me how to implement it in the same way as in the example: https://sketchfab.com/3d-models (image preloading only starts when hovering over the model)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Den Sabrov, 2020-03-09
@bersus

Maybe just use LazyLoad ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question