easyUI-layout??????

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了easyUI-layout??????相关的知识,希望对你有一定的参考价值。

?????????rod   utf-8   ??????   over   sheet   ext   ??????   ??????   col   

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>??????</title>
<link rel="stylesheet" type="text/css" href="js/jquery-easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="js/jquery-easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="js/jquery-easyui/themes/default/layout.css">
<script src="js/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery-easyui/jquery.easyui.min.js"></script>
<style>
img {
width: 100px;
height: 100px;
overflow: hidden;
}
.p-search{
background:#fafafa;
padding:5px;
border:1px solid #ccc;
border-bottom:0;
overflow:hidden;
}
.p-search input{
width:300px;
border:1px solid #ccc;
background: #fff url(???images/search.png???) no-repeat right top;
}
.p-right{
text-align:center;
border:1px solid #ccc;
border-left:0;
width:150px;
background:#fafafa;
padding-top:10px;
}
</style>
<script>
//??????showcontent?????????????????????????????????????????????????????????
function showcontent(language) {
$(???#content???).html(???Introduction to ??? + language + ??? language???);
}
</script>
</head>
<body>
<div class="easyui-layout" style="width: 400px; height: 200px">
<div region="west" split="true" title="????????????" style="width: 150px">
<p style="padding:5px;margin:0;">Select language:</p>
<ul>
<li><a href="javascript:void(0)" onclick="showcontent(???java???)">Java</a></li>
<li><a href="javascript:void(0)" onclick="showcontent(???cshape???)">C#</a></li>
<li><a href="javascript:void(0)" onclick="showcontent(???vb???)">VB</a></li>
<li><a href="javascript:void(0)" onclick="showcontent(???erlang???)">Erlang</a></li>
</ul>
</div>
<div id="content" region="center" title="Language" style="padding:5px;">
</div>
</div>

<br><br><br><br>
<!-- collapsible="true"??????????????????-->
<div class="easyui-panel" title="Complex Panel Layout" iconCls="icon-search" collapsible="true"
style="padding:5px;width:500px;height:250px;">
<div class="easyui-layout" fit="true">
<div region="north" border="false" class="p-search">
<label>Search:</label><input/>
</div>
<div region="center" border="false">
<div class="easyui-layout" fit="true">
<div region="east" border="false" class="p-right">
<img src="images/1.jpg"/>
</div>
<div region="center" border="false" style="border:1px solid #ccc;">
<div class="easyui-layout" fit="true">
????????????????????????????????????????????????????????????????????????split="true" :??????

<div region="south" split="true" border="false" style="height:60px;">
<textarea style="border:0;width:100%;height:100%;resize:none">Hello,???????????????????????????</textarea>
</div>
<div region="center" border="false">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>























































































以上是关于easyUI-layout??????的主要内容,如果未能解决你的问题,请参考以下文章

easyUI-layout??????

easyui-layout没有下拉滚动条是怎么回事

easyui-layout设置split为true 拖拽改变center大小的事件是啥?

easyui页面自适应

easyui框架layout控件的使用

easyui---layout布局