Default collapse with scaling icon
Where now are the horse and the rider? Where is the horn that was blowing? Where is the helm and the hauberk, and the bright
hair flowing?
Where is the harp on the harpstring, and the red fire glowing? Where is the spring and the harvest and the tall corn growing?
The days have gone down in the West behind the hills into shadow. Who shall gather the smoke of the deadwood burning, Or
behold the flowing years from the Sea returning?
$(document).ready(function () {
$('.collapse.in').prev('.panel-heading').addClass('active');
$('#accordion, #bs-collapse')
.on('show.bs.collapse', function (a) {
$(a.target).prev('.panel-heading').addClass('active');
})
.on('hide.bs.collapse', function (a) {
$(a.target).prev('.panel-heading').removeClass('active');
});
});
一键复制
编辑
Web IDE
原始数据
按行查看
历史