simpleHrm.jsp
1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ include file="/systeminfo/init_wev8.jsp" %>
<%@ include file="/hrm/resource/simpleHrmResource_wev8.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
int hrmid = Util.getIntValue(request.getParameter("hrmid"), 0);
%>
<!DOCTYPE>
<html>
<head>
<base href="<%=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">
<script type="text/javascript" src="../../js/jquery/jquery-1.4.2.min_wev8.js"></script>
<style type="text/css">
#closetext {
display:none!important;
}
html{
overflow:hidden;
}
</style>
<script type="text/javascript">
var hrmid = <%=hrmid %>;
$(document).ready(function () {
bodySize[0] = 0;
bodySize[1] = 0;
clickSize[0] = 0;
clickSize[1] = 0;
$("#hrmElement").trigger("click");
//去掉iframe父级滚动条
$("#iframe_0", parent.document).parent("div#0").css("overflow", "hidden");
});
function setClickPoint() {
bodySize[0] = 0;
bodySize[1] = 0;
clickSize[0] = 0;
clickSize[1] = 0;
clickSize[2] = 0;
}
</script>
</head>
<body style="width:463px;height:300px;overflow:hidden;" scroll="no">
<div id="hrmElement" onClick="setClickPoint();openhrm(<%=hrmid %>);"></div>
</body>
</html>