...
|
...
|
@@ -69,3 +69,32 @@ $('.shops_id').click(function (){ |
|
|
}
|
|
|
})
|
|
|
});
|
|
|
|
|
|
|
|
|
// LocalStorage.setItem("router",);
|
|
|
$('.panel-heading').hover(function() {
|
|
|
$(this).find('.panel-btns').fadeIn('fast');
|
|
|
}, function() {
|
|
|
$(this).find('.panel-btns').fadeOut('fast');
|
|
|
});
|
|
|
|
|
|
$('.panel .panel-close').click(function() {
|
|
|
$(this).closest('.panel').fadeOut(200);
|
|
|
return false;
|
|
|
});
|
|
|
|
|
|
// Minimize Panel
|
|
|
$('.panel .panel-minimize').click(function() {
|
|
|
var t = $(this);
|
|
|
var p = t.closest('.panel');
|
|
|
if (!$(this).hasClass('maximize')) {
|
|
|
p.find('.panel-body, .panel-footer').slideUp(200);
|
|
|
t.addClass('maximize');
|
|
|
t.find('i').removeClass('fa-minus').addClass('fa-plus');
|
|
|
} else {
|
|
|
p.find('.panel-body, .panel-footer').slideDown(200);
|
|
|
t.removeClass('maximize');
|
|
|
t.find('i').removeClass('fa-plus').addClass('fa-minus');
|
|
|
}
|
|
|
return false;
|
|
|
}); |
|
|
\ No newline at end of file |
...
|
...
|
|