我正在使用 Bootsrap 模式,我正在尝试在其中集成slimscroll
插件。但它不起作用。
这是我的代码:
$("#refinequery").on('show.bs.modal', function (e) {
var form = $(this).find('form');
that.locationDetails(form, that.formInfo.disciplineProperties);
that.queryDetails(form, that.bodyDetails );
$('.modal-dialog').css({
height : $( window ).height()*1,
"overflow-y":'auto'
});
}).on('shown.bs.modal', function () {
$(this).slimscroll({}); //not working properly all are collapsed!
}).modal();