Js功能类似于单击功能,调整大小功能。当我们加载或刷新页面时,它们运行良好。当我们执行诸如搜索任何数字和页面停止js函数之类的角度函数时。
$( window ).on( "load", function() {
// setting window height function settingHeight(){
//var mainDivHeight = $('.getMyHeight').height();
var windowHeight = $(window).height();
var windowHeight = windowHeight - 130;
$('.getMyHeight').css('height',windowHeight);
var accorHeight = $('.dBordEdSec_1 .firstSec').height();
var accorHeight = accorHeight - 48;
$('.dBordEdSec_1 .firstSec .m-portlet__body,.allChatSec')
.css('height',accorHeight);
$('.fileDtlPanel').css('height',$(window).height() / 1.5);
需要运行此功能