edittip.html 766 B

1234567891011121314151617181920212223242526272829303132333435
  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. .item {
  13. text-align: center;
  14. }
  15. </style>
  16. </head>
  17. <body>
  18. <div class="section">
  19. <div class="item">
  20. <label><input type="radio" id="J_delRow" name="cmd" checked />
  21. <var id="lang_delRow"></var></label>
  22. </div>
  23. <div class="item">
  24. <label><input type="radio" id="J_delCol" name="cmd" />
  25. <var id="lang_delCol"></var></label>
  26. </div>
  27. </div>
  28. <script type="text/javascript">
  29. dialog.onok = function () {
  30. $G("J_delRow").checked ? editor.execCommand("deleterow") : editor.execCommand("deletecol");
  31. };
  32. </script>
  33. </body>
  34. </html>