In my css, I have this:
#panel li:hover { background-color: #ffa; }
under some condition, I would like to disable style-hovering from li elements, something like:
function start() { $('#panel li').ignoreHoverRules(); }
and turn it back on later:
function end() { $('#panel li').reenableHoverRules(); }
Is something like this possible? Not sure how to "enable" or "disable" runtime style rules,
thanks
source share