⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spell-check-ui.jsp

📁 Jive Forums 论坛源码 v4.2.3
💻 JSP
字号:
<!--

  Strangely, IE sucks with or without the DOCTYPE switch.
  I thought it would only suck without it.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

   Spell Checker Plugin for HTMLArea-3.0
   Sponsored by www.americanbible.org
   Implementation by Mihai Bazon, http://dynarch.com/mishoo/

   (c) dynarch.com 2003.
   Distributed under the same terms as HTMLArea itself.
   This notice MUST stay intact for use (see license.txt).

   $Id: spell-check-ui.jsp 11157 2004-08-12 20:19:31Z bruce $

-->
<%@ taglib uri="jivetags" prefix="jive" %>

<html xmlns="http://www.w3.org/1999/xhtml">

  <head>
    <title><jive:i18n key="post.spell_check" /></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="spell-check-ui.js"></script>

    <style type="text/css">
      html, body { height: 100%; margin: 0px; padding: 0px; background-color: #fff;
      color: #000; }
      a:link, a:visited { color: #00f; text-decoration: none; }
      a:hover { color: #f00; text-decoration: underline; }

      table { background-color: ButtonFace; color: ButtonText;
      font-family: tahoma,verdana,sans-serif; font-size: 11px; }

      iframe { background-color: #fff; color: #000; height: 100%; width: 100%; }

      .controls { width: 13em; }
      .controls .sectitle { /* background-color: #736c6c; color: #fff;
      border-top: 1px solid #000; border-bottom: 1px solid #fff; */
      text-align: center;
      font-weight: bold; padding: 2px 4px; }
      .controls .secbody { margin-bottom: 10px; }

      button, select { font-family: tahoma,verdana,sans-serif; font-size: 11px; }
      button { width: 6em; padding: 0px; }

      input, select { font-family: fixed,"andale mono",monospace; }

      #v_currentWord { color: #f00; font-weight: bold; }
      #statusbar { padding: 7px 0px 0px 5px; }
      #status { font-weight: bold; }
    </style>

  </head>

  <body onload="initDocument()">

    <form style="display: none;" action="spell-check-body.jsp"
          method="post" target="framecontent"
          ><input type="hidden" name="content" id="f_content"
    /></form>

    <table style="height: 100%; width: 100%; border-collapse: collapse;" cellspacing="0" cellpadding="0">
      <tr>
        <td colspan="2" style="height: 1em; padding: 2px;">
        <!--
          <div style="float: right; padding: 2px;"><span>Dictionary</span>
            <select id="v_dictionaries" style="width: 10em"></select>
            <button id="b_recheck">Re-check</button>
          </div>
        -->
          <span id="status"><jive:i18n key="spell.spell_check_please_wait" /></span>
        </td>
      </tr>
      <tr>
        <td valign="top" class="controls">
          <!--
          <div class="secbody" style="text-align: center">
            <button id="b_info">Info</button>
          </div>
          -->
          <div class="sectitle"><jive:i18n key="spell.original" /></div>
          <div class="secbody" id="v_currentWord" style="text-align:
          center; margin-bottom: 0px;"><jive:i18n key="global.please_wait" /></div>
          <div class="secbody" style="text-align: center">
            <button id="b_revert" disabled><jive:i18n key="spell.revert" /></button>
          </div>
          <div class="sectitle"><jive:i18n key="spell.change_to" /></div>
          <div class="secbody">
            <input type="text" id="v_replacement" disabled style="width: 94%; margin-left: 3%;"
            onkeyup="replacementTextEntered();" /><br />
            <div style="text-align: center; margin-top: 2px;">
              <button id="b_replace" disabled><jive:i18n key="spell.change" /></button><button
                id="b_replall" disabled><jive:i18n key="spell.change_all" /></button><br /><button
                id="b_ignore" disabled><jive:i18n key="spell.ignore" /></button><button
                id="b_ignall" disabled><jive:i18n key="spell.ignore_all" /></button>
            </div>
          </div>
          <div class="sectitle"><jive:i18n key="spell.suggestions" /></div>
          <div class="secbody">
            <select size="11" id="v_suggestions" disabled style="width: 94%; margin-left: 3%;"></select>
          </div>
        </td>

        <td>
          <iframe src="about:blank" width="100%" height="100%"
            id="i_framecontent" name="framecontent"></iframe>
        </td>
      </tr>
      <tr>
        <td style="height: 1em;" colspan="2">
          <div style="padding: 4px 2px 2px 2px; float: right;">
            <button id="b_ok"><jive:i18n key="global.save" /></button>
            <button id="b_cancel"><jive:i18n key="global.cancel" /></button>
          </div>
          <div id="statusbar"></div>
        </td>
      </tr>
    </table>

  </body>

</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -