初始化项目
This commit is contained in:
21
AUTS.Web/Plugin/inspinia-partial.js
Normal file
21
AUTS.Web/Plugin/inspinia-partial.js
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
|
||||
// Collapse ibox function
|
||||
$('.collapse-link-partial').click(function () {
|
||||
var ibox = $(this).closest('div.ibox');
|
||||
var button = $(this).find('i');
|
||||
var content = ibox.find('div.ibox-content');
|
||||
content.slideToggle(200);
|
||||
button.toggleClass('fa-chevron-up').toggleClass('fa-chevron-down');
|
||||
ibox.toggleClass('').toggleClass('border-bottom');
|
||||
setTimeout(function () {
|
||||
ibox.resize();
|
||||
ibox.find('[id^=map-]').resize();
|
||||
}, 50);
|
||||
});
|
||||
|
||||
// Close ibox function
|
||||
$('.close-link-partial').click(function () {
|
||||
var content = $(this).closest('div.ibox');
|
||||
content.remove();
|
||||
});
|
||||
Reference in New Issue
Block a user