-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfirm.html
143 lines (134 loc) · 4.27 KB
/
confirm.html
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="zourinet">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<!-- <link rel="Stylesheet" type="text/css" charset="utf-8" href="http://hi.images.csdn.net/css/admin/StyleSheet.css" mce_href="http://hi.images.csdn.net/css/admin/StyleSheet.css" media="screen" /> -->
<mce:style type="text/css"><!--
#PopupWindow
{
position: absolute;
display: none;
font-size: 12px;
font-weight: bold;
padding: 0 0 12px 0;
margin: -8px 0 0 0;
background: transparent url( 'http://hi.images.csdn.net/css/admin/Images/deletepopupwindow_quotearrow.gif' ) no-repeat right bottom;
}
#PopupWindow div
{
background: #fff;
border: solid 1px #666;
border-bottom: 0;
text-align: right;
padding: 5px 10px;
width: 150px;
line-height: 20px;
}
#PopupWindow a
{
margin: 0 5px 0 5px;
padding: 10px 0 0 0;
font-size: 12px;
font-weight: normal;
}
body{
text-align:center;
font-size: 12px;
}
--></mce:style><style type="text/css" mce_bogus="1">#PopupWindow
{
position: absolute;
display: none;
font-size: 12px;
font-weight: bold;
padding: 0 0 12px 0;
margin: -8px 0 0 0;
background: transparent url( 'http://hi.images.csdn.net/css/admin/Images/deletepopupwindow_quotearrow.gif' ) no-repeat right bottom;
}
#PopupWindow div
{
background: #fff;
border: solid 1px #666;
border-bottom: 0;
text-align: right;
padding: 5px 10px;
width: 150px;
line-height: 20px;
}
#PopupWindow a
{
margin: 0 5px 0 5px;
padding: 10px 0 0 0;
font-size: 12px;
font-weight: normal;
}
body{
text-align:center;
font-size: 12px;
}</style>
<mce:script type="text/javascript"><!--
var _doPostBack;
function Confirm(elem)
{
_doPostBack = elem.href;
var top = elem.offsetTop;
var left = elem.offsetLeft;
while(elem = elem.offsetParent)
{
top += elem.offsetTop;
left += elem.offsetLeft;
}
var popupWindow = document.getElementById("PopupWindow");
popupWindow.style.display = "block";
popupWindow.style.left = left - 70 + "px";
popupWindow.style.top = top - 70 + "px";
return false;
}
function Delete()
{
eval(_doPostBack);
}
function Hide()
{
document.getElementById("PopupWindow").style.display = "none";
}
function OnFocus(elem)
{
if(elem.value == "找人…")
elem.value = '';
}
// --></mce:script>
<mce:script type="text/javascript"><!--
var theForm = document.forms['aspnetForm'];
if (!theForm) {
theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
// --></mce:script>
</HEAD>
<BODY>
<form method="post" action="" name="aspnetForm">
<br><br><br><br><br><br>
<div>
<a onclick="return Confirm(this);" id="ctl00_cphContent_rprSelectionList_ctl01_lkbDelete" href="javascript:__doPostBack('ctl00$cphContent$rprSelectionList$ctl01$lkbDelete','')" mce_href="javascript:__doPostBack('ctl00$cphContent$rprSelectionList$ctl01$lkbDelete','')">删除</a>
</div>
<div id="PopupWindow" style="display:none" mce_style="display:none">
<div>
<p> 您确定要删除吗?</p>
<a href="javascript:Delete()" mce_href="javascript:Delete()" id="delete">删除</a><a href="javascript:Hide()" mce_href="javascript:Hide()">取消</a>
</div>
</div>
</form>
</BODY>
</HTML>