Background disappears when doing .hide('slide'...)
Here's my code:
$('#categories-toggle').toggle(function() {
$('#product-list-categories').hide("slide", {direction:"left"},
500);
}, function() {
$('#product-list-categories').show("slide", {direction:"left"},
500);
});
When #categories-toggle is clicked, #product-list-categories properly
slides left. However, the background on #product-list-categories
disappears during the animation. Whoopsie. Here's the CSS on #product-
list-categories:
#product-list-categories {
display: block;
position: absolute;
left: 0px;
top: 135px;
width: 190px;
background-color: #666;
}