Is there a way to modify the Hover-Background-Color?
<style>
.myhoverclass {background:#FFF;}
</style>
I am using this code to toggle:
$('.box a').hover(
function(){ $(this).toggleClass('myhoverclass') }
)
However, when I try to change .myhoverclass with ColorPicker...
$('#li-a-bgcolor').ColorPicker({
onChange: function (hsb, hex, rgb) {
$('#li-a-bgcolor').css('backgroundColor', '#' + hex);
$('.myhoverclass').css('background-color', '#' + hex);
}
});
...the color stays white. Can you point out where the error might be?
Appreciate your help.