easy ui layout 高度 宽度自适应浏览器
来源:互联网 发布:印度不服中国 知乎 编辑:程序博客网 时间:2024/06/05 16:56
<%@ page language="java" contentType="text/html; charset=UTF-8"pageEncoding="UTF-8"%><%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><%String path = request.getContextPath();request.setAttribute("path", path);%><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>TTest</title><link rel="stylesheet" type="text/css" href="<%=path%>/themes/default/easyui.css"> <link rel="stylesheet" type="text/css" href="<%=path%>/themes/icon.css"> <script type="text/javascript" src="<%=path%>/js/jquery-1.8.0.min.js"></script> <script type="text/javascript" src="<%=path%>/js/jquery.easyui.min.js"></script> <script type="text/javascript">$(document).ready(function(){var height1 = $(window).height()-20;$("#main_layout").attr("style","width:100%;height:"+height1+"px");$("#main_layout").layout("resize",{width:"100%",height:height1+"px"});});$(window).resize(function(){var height1 = $(window).height()-30;$("#main_layout").attr("style","width:100%;height:"+height1+"px");$("#main_layout").layout("resize",{width:"100%",height:height1+"px"});}); </script></head><body><div style="margin-top:5px;margin-left:5px;margin-right:5px;margin-bottom:5px;"><div id="main_layout" class="easyui-layout" style="width:100%; height:680px;"><!-- 北方 --><div data-options="region:'north'" style="height: 40px;background-color:#95B8E7;"><span style="margin-left:0.5%;"><font size="3" style="line-height: 2.0em;" color="white" ><b>AAAAAAAAAAAAAAAAAAAAAAA </b></font></span> <span style="float:right;margin-top:10px;margin-right:20px;"> <font size="3" color="white">欢迎 :Admin</font> <a href="<%=path %>/loginOut.do" > <font size="3" color="red">退出</font> </a> </span></div><!-- 西方 --><div data-options="region:'west',split:true" title="BBBBBB" style="width: 200px;"><div class="easyui-accordion" data-options="fit:true,border:false"></div></div><!-- 中间 --><div data-options="region:'center',title:'CCCCCCC',iconCls:'icon-ok'"><div id="tTabs" class="easyui-tabs" data-options="fit:true,border:false,plain:true"><div title="DDDDD"data-options="closable:true,href:'<%=path%>/view/gmtool/welcome.jsp'"style="overflow: auto; padding: 20px;"></div></div></div><!-- 南方 --><div data-options="region:'south',split:true" style="height:30%;background-color:#95B8E7;"><div style="" align="center"><font size="" color="white">Copyright © 2014 Beijing Co., Ltd. All Rights Reserved 版权所有 </font></div></div></div></div></body></html>
1 1
- easy ui layout 高度 宽度自适应浏览器
- easy ui datagrid的高度自适应
- UI之Label自适应高度和宽度
- Ext Grid 浏览器里自适应宽度高度
- iframe高度宽度自适应兼容所有浏览器
- Android基础UI之ImageView宽度设定,高度自适应
- js实现自适应浏览器的高度和宽度
- 网页背景图片固定切自适应浏览器高度宽度
- jquery实现div自适应浏览器高度(宽度)
- JQERY EasyUI Tabs 选项卡 自适应浏览器宽度高度 解决方案
- EasyUI Tabs选项卡自适应浏览器宽度和高度
- Iframe 自适应高度宽度
- 自适应宽度高度
- iframe高度宽度自适应
- Vickate_iOS_UILable自适应宽度/自适应高度
- easy ui layout
- jquery easy ui layout
- Easy Ui Layout控件
- Java RandomAccessFile用法(转载)
- DirectX 11游戏编程学习笔记之2: 第1章Vector Algebra(向量代数)
- android graphic classes
- Chrome37+代替window.showModalDialog模态窗口方法
- 区分ubuntu 32bit or 64bit
- easy ui layout 高度 宽度自适应浏览器
- gradle 教程学习笔记(一)
- Matlab 随机数 小结
- hive安装与配置
- no module named pycurl 解决办法
- 棕最桌椎足妆子状篆篆孜坠子准做酌赚桩
- 25个让Java程序员更高效的Eclipse插件(转)
- MZ Training 2014 #4 C题
- 咨孜踪最注尊资宗注转啄准尊庄淄咨灼谞