Answer the question
In order to leave comments, you need to log in
What plugin does trask-industries.com/#/genetics use?
On this site www.trask-industries.com/#/genetics , when you hover over the icons on the left, they change. I need something similar. I'm making a site on Wordpress, is it possible to do something like this with a plugin? I will explain specifically. The idea is this: on my site there is a background, if you remove the mouse from the borders of the site, only the background is visible, and when you hover over a certain part on top of the background within these borders, it appears (instantly, i.e. nothing pops up and is drawn, as on that site according to link) another picture. In this case, you need to add a few buttons to these katinki.
Answer the question
In order to leave comments, you need to log in
The self-written spriteAnimation
function is used , which, when hovering over an element, changes the value of the background-position property of the element.
The background of the element is a sprite.
The function itself is in this file , and with the help of jsbeautifier you can see it.
Here in this topic there are solutions for both css3 and js. Or you can rewrite the function from your example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question