I currently have a simple dropdown menu where the different menu choices are supposed to change opacity when hovered over. The default opacity is set at 0.5.
Below is the hover function in my jQuery code:
$('#cat1 > li > a').hover(function () {
$(this).css({
color: '#dc692e', opacity: 1
});
}, function () {
$(this).css({
color: '#fff', opacity: .5
});
});
To see the complete implementation, check out this interactive demo: http://jsfiddle.net/Nilzone/HnmHh/
I appreciate your assistance with this matter!