html- 盒子引入htmll


盒子中引入 html.
并且将背景html隐藏

					$("#settingpagebox").load("settingPage.html");  //盒子引入html
					var pagebox = document.getElementById('settingpagebox');
					console.log(pagebox);
					pagebox.style.width = document.documentElement.clientWidth + 'px';
					pagebox.style.height = document.documentElement.clientHeight + 'px';
 					console.log(document.documentElement.clientWidth);
 
 					pagebox.style.background = '#fff';   //设置背景色为白色
 					window.onresize = function() {    //html的显示宽高为浏览器的款高.=随浏览器大小变化
 						pagebox.style.width = document.documentElement.clientWidth + 'px';
 						pagebox.style.height = document.documentElement.clientHeight + 'px';
 
      				 }

打开子窗口:

window.open("settingPage.html", "settingPage", "width=600, height=500,");

博文:https://bbs.csdn.net/topics/310108392

  //父窗口


	
		
		dataExport
		
		
	

	
	


  //子窗口

	
		
		
	
	
	
		
		
			

共用 头部,尾部
博文:https://blog.csdn.net/qq_35393869/article/details/79803190

博文: https://www.w3h5.com/post/53.html

你可能感兴趣的:(html)