I'm currently utilizing the jQUery color plugin in my project. One of the challenges I've encountered is that I have an li
element which changes its background color when hovered over, achieved through the use of the standard :hover
CSS pseudo-class in the CSS file. Everything works smoothly until I apply the color plugin to it - at this point, the :hover
effect ceases to function when I utilize the following code to 'pulse' the element:
$(".elements").first()
.delay(400)
.css({ backgroundColor: '#eeeeee' })
.animate({ backgroundColor: '#888888' }, 2000);
Is there anyone who can provide a solution so that the original :hover
behavior continues working even when the 'pulse' effect is displayed?