提交 | 用户 | 时间
|
1ac2bc
|
1 |
<!DOCTYPE html> |
懒 |
2 |
<html> |
|
3 |
<head> |
|
4 |
<title>表格删除提示</title> |
|
5 |
<script type="text/javascript" src="../internal.js"></script> |
|
6 |
<style type="text/css"> |
|
7 |
.section { |
|
8 |
width: 200px; |
|
9 |
margin: 10px auto 0; |
|
10 |
font-size: 14px; |
|
11 |
} |
|
12 |
|
|
13 |
.item { |
|
14 |
text-align: center; |
|
15 |
} |
|
16 |
</style> |
|
17 |
</head> |
|
18 |
<body> |
|
19 |
<div class="section"> |
|
20 |
<div class="item"> |
|
21 |
<label><input type="radio" id="J_delRow" name="cmd" checked/><var id="lang_delRow"></var></label> |
|
22 |
</div> |
|
23 |
<div class="item"> |
|
24 |
<label><input type="radio" id="J_delCol" name="cmd"/><var id="lang_delCol"></var></label> |
|
25 |
</div> |
|
26 |
</div> |
|
27 |
<script type="text/javascript"> |
|
28 |
dialog.onok = function () { |
|
29 |
$G("J_delRow").checked ? editor.execCommand("deleterow") : editor.execCommand("deletecol"); |
|
30 |
}; |
|
31 |
</script> |
|
32 |
</body> |
|
33 |
</html> |