A页面代码
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE">
<meta name="content-type" content="text/html; charset=utf8">
<link rel="stylesheet" type="text/css"
href="juqueryeasyui1.5/themes/default/easyui.css">
<link rel="stylesheet" type="text/css"
href="juqueryeasyui1.5/themes/icon.css">
<script type="text/javascript" src="juqueryeasyui1.5/jquery.min.js"></script>
<script type="text/javascript"
src="juqueryeasyui1.5/jquery.easyui.min.js"></script>
</head>
<body style="overflow-x: scroll;overflow-y: scroll;">
<iframe scrolling="yes" src="testPage.html" frameborder="2px" height="400" weight="300" align="left">
</iframe>
</body>
</html>
B页面代码
<!DOCTYPE html>
<html>
<head>
<title>testPage.html</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
<link rel="stylesheet" type="text/css"
href="juqueryeasyui1.5/themes/default/easyui.css">
<script type="text/javascript" src="juqueryeasyui1.5/jquery.min.js"></script>
<script type="text/javascript"
src="juqueryeasyui1.5/jquery.easyui.min.js"></script>
</head>
<body class="easyui-layout" style="width:600px;height:300px;overflow-x: scroll;overflow-y: scroll;">
<div data-options="region:'center'" style="height:300px;">
<div class="easyui-layout" style="height:250px;">
<div data-options="region:'north',title:'iaas'" style="height:20%;"></div>
<div data-options="region:'center',title:'paas'" style="height:40%;"></div>
<div data-options="region:'south',title:'saas'" ></div>
</div>
</div>
</body>
</html>
2 个解决方案
#1
[
, 加 overflow]
<iframe src ="/index.html" width="200" height="200" scrolling="yes">
</iframe>
#1
[
, 加 overflow]
<iframe src ="/index.html" width="200" height="200" scrolling="yes">
</iframe>