diff options
| -rw-r--r-- | doc/index.html | 51 | 
1 files changed, 25 insertions, 26 deletions
| diff --git a/doc/index.html b/doc/index.html index dc1a69734..dacde53cd 100644 --- a/doc/index.html +++ b/doc/index.html @@ -21,6 +21,18 @@          #versionlist li {              margin-bottom: .5em;          } +        #menu { +            margin: 0; +            padding: .5em 0; +            list-style-type: none; +            font-size: larger; +            background: #CCCCCC; +        } +        #menu li { +            margin: 0; +            padding: 0 .5em; +            display: inline; +        }      </style>      <script type="text/javascript">     	function IsRemote() { @@ -71,35 +83,22 @@        <li>Version 1.77 allows direct temporary access to the text buffer.</li>        <li>Version 1.76 fixes some minor bugs.</li>      </ul> -    <table bgcolor="#CCCCCC" width="100%" cellspacing="0" cellpadding="8" border="0"> -      <tr> -        <td> -          <font size="4"> -<script type="text/javascript" language="JavaScript"><!-- -if (IsRemote()) { -    document.write('<a href="http://www.scintilla.org/SciTEImage.html">Screenshot</a>  '); -    document.write('<a href="http://www.scintilla.org/ScintillaDownload.html">Download</a>  '); -} -//--></script> -<noscript> - 	 <a href="http://www.scintilla.org/SciTEImage.html">Screenshot</a>   -	 <a href="http://www.scintilla.org/ScintillaDownload.html">Download</a>   -</noscript> - 	 <a href="http://www.scintilla.org/ScintillaDoc.html">Documentation</a>   -	 <a href="http://www.scintilla.org/ScintillaToDo.html">Bugs</a>   +    <ul id="menu"> +      <li id="remote1"><a href="http://www.scintilla.org/SciTEImage.html">Screenshot</a></li> +      <li id="remote2"><a href="http://www.scintilla.org/ScintillaDownload.html">Download</a></li> +      <li><a href="http://www.scintilla.org/ScintillaDoc.html">Documentation</a></li> +      <li><a href="http://www.scintilla.org/ScintillaToDo.html">Bugs</a></li> +      <li id="remote3"><a href="http://www.scintilla.org/SciTE.html">SciTE</a></li> +      <li><a href="http://www.scintilla.org/ScintillaHistory.html">History</a></li> +      <li><a href="http://www.scintilla.org/ScintillaRelated.html">Related</a></li> +    </ul>  <script type="text/javascript" language="JavaScript"><!-- -if (IsRemote()) { -    document.write('<a href="http://www.scintilla.org/SciTE.html">SciTE</a>   '); +if (!IsRemote()) { //if NOT remote... +    document.getElementById('remote1').style.display='none'; +    document.getElementById('remote2').style.display='none'; +    document.getElementById('remote3').style.display='none';  }  //--></script> -<noscript> -	 <a href="http://www.scintilla.org/SciTE.html">SciTE</a>   -</noscript> -	  <a href="http://www.scintilla.org/ScintillaHistory.html"> -          History</a>   <a href="http://www.scintilla.org/ScintillaRelated.html">Related</a>  </font> -        </td> -      </tr> -    </table>      <p>         <a href="http://www.scintilla.org/ScintillaDoc.html">Scintilla</a> is a free source code editing component.         It comes with complete source code and a <a href="http://www.scintilla.org/License.txt">license</a> that | 
