div を展開可能にするスクリプトを作成しました。
$('.expandable').find('h2').on('click', function(){
$(this).parent().css({height: (parseInt($(this).parent().css('height')) > 50)?'25px':'auto'});
$(this).find('i').toggleClass('icon-plus-sign icon-minus-sign', 300);
})
div エキスパンドの速度または期間を構成するにはどうすればよいですか。ゆっくりとスムーズにダウンさせたいです。
ありがとう
ここに私のアコーディオン