I have a stack of li
's. I'm trying to get the background color of a div
to change upon mouse on and change back upon mouse off. I was able to figure out how to do it, but it's buggy. The gaps between the li
's cause an issue where the jquery isn't triggered correctly when I hover from one li
to another.
Here's my code: http://jsfiddle.net/blutuu/k93o28rf/8/
It's quite hacky, so I'm hoping for a better implementation. Thanks for your help.