BootstrapAdmin/Bootstrap.Admin/Scripts/well.js

12 lines
403 B
JavaScript
Raw Normal View History

2016-11-06 01:24:05 +08:00
$(function () {
$('#main-content').css('backgroundImage', 'url("../../content/images/bg.jpg")');
function resposive() {
var height = $(window).height();
if (height > 672)
$('.well-bg').height(height - 270);
else
$('.well-bg').height(height - 158);
2016-11-06 01:24:05 +08:00
}
$(window).on('load', resposive);
$(window).on('resize', resposive);
});