first commit
This commit is contained in:
24
library/jquery-easyui-1.6.10/demo/window/fluid.html
Normal file
24
library/jquery-easyui-1.6.10/demo/window/fluid.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Fluid Window - jQuery EasyUI Demo</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
|
||||
<link rel="stylesheet" type="text/css" href="../demo.css">
|
||||
<script type="text/javascript" src="../../jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h2>Fluid Window</h2>
|
||||
<p>This example shows how to set the width of Window to a percentage of its parent container.</p>
|
||||
<div style="margin:20px 0;"></div>
|
||||
<div id="w" class="easyui-window" title="Fluid Window" style="width:80%;height:200px;padding:10px;" data-options="
|
||||
iconCls:'icon-save',
|
||||
onResize:function(){
|
||||
$(this).window('hcenter');
|
||||
}">
|
||||
<p>The window has a width of 80%.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user