<%@ page language="java" import="java.util.*"pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath =request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01Transitional//EN">
<html>
<head>
<basehref="<%=basePath%>">
<title>首页</title>
<meta http-equiv="pragma"content="no-cache">
<meta http-equiv="cache-control"content="no-cache">
<meta http-equiv="expires"content="0">
<meta http-equiv="keywords"content="keyword1,keyword2,keyword3">
<meta http-equiv="description"content="This is my page">
<link rel="stylesheet"type="text/css"href="scripts/ligerui/ligerUI/skins/Aqua/css/ligerui-all.css"/>
<!-- <linkrel="stylesheet" type="text/css"href="scripts/ligerui/ligerUI/skins/Gray/css/all.css"/>
-->
<script type="text/javascript"src="scripts/ligerui/jquery/jquery-1.5.2.min.js"></script>
<script type="text/javascript"src="scripts/ligerui/ligerUI/js/ligerui.all.js"></script>
<script type="text/javascript"src="scripts/ligerui/json2.js"></script>
<script type="text/javascript">
var tab = null;
var accordion = null;//手风琴
$(function ()
{
//布局
$("#layout1").ligerLayout(
{leftWidth:190,
height:'100%',
heightDiff:-34,
space:4,
onHeightChanged:f_heightChanged
}
);
var height = $(".l-layout-center").height();
//Tab
$("#framecenter").ligerTab({
height:height
});
//面板
$("#accordion1").ligerAccordion({
height:height - 24,
speed:null
});
$(".l-link").hover(
function()
{
$(this).addClass("l-link-over");
},
function()
{
$(this).removeClass("l-link-over");
}
);
tab = $("#framecenter").ligerGetTabManager();
accordion = $("#accordion1").ligerGetAccordionManager();
$("#pageloading").hide();
});
function f_heightChanged(options)
{
if (tab)
tab.addHeight(options.diff);
if (accordion &&options.middleHeight - 24 > 0)
accordion.setHeight(options.middleHeight - 24);
}
function f_addTab(tabid,text, url)
{
tab.removeAll();//单任务;
tab.addTabItem({
tabid: tabid,
text:text,
url:url
});
returnfalse;
}
</script>
<style type="text/css">
body,html{height:100%;}
body{padding:0px; margin:0;overflow:hidden;}
.l-link{display:block; height:26px; line-height:26px; padding-left:10px;text-decoration:underline; color:#333;}
.l-link2{text-decoration:underline; color:white;margin-left:2px;margin-right:2px;}
.l-layout-top{background:#102A49; color:White;}
.l-layout-bottom{ background:#E5EDEF; text-align:center;}
#pageloading{
position:absolute;
left:0px;
top:0px;
background:whiteurl('scripts/ligerui/images/loading.gif') no-repeat center;
width:100%;
height:100%;
z-index:99999;
}
.l-link{display:block; line-height:22px; height:22px;padding-left:16px;border:1px solid white; margin:4px;}
.l-link-over{ background:#FFEEAC; border:1px solid #DB9F00;}
.l-winbar{background:#2B5A76; height:30px; position:absolute; left:0px;bottom:0px; width:100%; z-index:99999;}
.space{color:#E7E7E7;}
.l-topmenu{
margin:0;
padding:0;
height:31px;
line-height:31px;
background:url('scripts/ligerui/images/top.jpg')
repeat-x bottom;
position:relative;
border-top:1px solid#1D438B;
}
.l-topmenu-logo{
color:#E7E7E7;
padding-left:35px;
line-height:26px;
background:url('scripts/ligerui/images/qi.png')no-repeat 10px 5px;
}
.l-topmenu-welcome{ position:absolute;height:24px; line-height:24px; right:30px;top:2px;color:#070A0C;}
.l-topmenu-welcome a{ color:#E7E7E7; text-decoration:underline}
</style>
</head>
<body>
<divid="pageloading"></div><!-- 加载提示 -->
<div id="topmenu">
<div>后台管理</div>
<div>
<a href="http://baidu.com/">
<imgsrc="scripts/ligerui/test/images/home01.png">
百度首页
</a>
<span>|</span>
<a href="http://news.baidu.com/"target="_blank">百度新闻</a>
<span>|</span>
<a href="http://music.baidu.com/"target="_blank">Music</a>
</div>
</div>
<div id="layout1">
<div id="accordion1"position="left" title="主要菜单">
<divtitle="应用场景">
<div></div>
<a href="#" onclick="returnf_addTab(123,'物品管理','browseGoods2');"target="_blank">
<imgsrc="scripts/ligerui/images/gongWenBao.png">
物品管理
</a>
<a href="#" onclick="return false;"target="_blank">
<imgsrc="scripts/ligerui/images/boy2.png">
人员管理
</a>
</div>
<divtitle="实验室">
<div></div>
<a href="#" onclick="return false;"target="_blank">表格表单设计器</a>
</div>
</div>
<div id="framecenter" position="center">
<div tabid="home" title="AAA主页">
<iframe frameborder="0" name="home" id="home"src="http://www.baidu.com/">
</iframe>
</div>
</div>
</div>
<div>
Copyright © 2012-2013
</div>
<div></div>
</body>
</html>