You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1.1 KiB
24 lines
1.1 KiB
3 months ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>Basic Resizable - 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>Basic Resizable</h2>
|
||
|
<p>Click on the edge of box and move the edge to resize the box.</p>
|
||
|
<div style="margin:20px 0;"></div>
|
||
|
<div class="easyui-resizable" data-options="minWidth:50,minHeight:50" style="width:200px;height:150px;border:1px solid #ccc;">
|
||
|
<div style="padding:20px">Resize Me</div>
|
||
|
</div>
|
||
|
<div id="dd" class="easyui-draggable easyui-resizable" data-options="handle:'#mytitle'" style="width:200px;height:150px;border:1px solid #ccc">
|
||
|
<div id="mytitle" style="background:#ddd;padding:5px;">Title</div>
|
||
|
<div style="padding:20px">Drag and Resize Me</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|