divを表示して問題なく非表示にするこのjqueryコードがありますが、css表示からslideToggle表示に変更するのに問題がありますか?
$('li.trigger').hover(
function() { $(this).css('background-color', '#fff'); $('div', this).css('display', 'block'); },
function() { $(this).css('background-color', '#fff'); $('div', this).css('display', 'none'); });