sso

edittip.html 863B

123456789101112131415161718192021222324252627282930313233
  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/><var id="lang_delRow"></var></label>
  21. </div>
  22. <div class="item">
  23. <label><input type="radio" id="J_delCol" name="cmd"/><var id="lang_delCol"></var></label>
  24. </div>
  25. </div>
  26. <script type="text/javascript">
  27. dialog.onok = function () {
  28. $G("J_delRow").checked ? editor.execCommand("deleterow") : editor.execCommand("deletecol");
  29. };
  30. </script>
  31. </body>
  32. </html>