changeset 2718:78f956ba9369 octave-forge

Compliant to strict XHTML 1.0, all except the code produced by makeinfo
author adb014
date Tue, 17 Oct 2006 19:12:37 +0000
parents dc09a0aff019
children 4e0bad669780
files www/macros.m4 www/octave-forge.css
diffstat 2 files changed, 33 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/www/macros.m4	Tue Oct 17 19:09:26 2006 +0000
+++ b/www/macros.m4	Tue Oct 17 19:12:37 2006 +0000
@@ -89,9 +89,9 @@
 <link rel="stylesheet" type="text/css" href="__BASE_ADDRESS__/octave-forge.css" />
 <script type="text/javascript">
 <!--
-function goto_url(url) {
-  if (url != "-1") {
-    location.href=url;
+function goto_url (selSelectObject) {
+  if (selSelectObject.options[selSelectObject.selectedIndex].value != "-1") {
+   location.href=selSelectObject.options[selSelectObject.selectedIndex].value;
   }
 }
 function unfold(id) {
@@ -116,6 +116,7 @@
  <a href="__BASE_ADDRESS__/packages.html">Packages</a>
  <a href="__BASE_ADDRESS__/developers.html">Developers</a>
  <a href="__BASE_ADDRESS__/docs.html">Documentation</a>
+ <a href="__BASE_ADDRESS__/doc/index.html">Function Reference</a>
  <a href="__BASE_ADDRESS__/FAQ.html">FAQ</a> 
  <a href="__BASE_ADDRESS__/bugs.html">Bugs</a> 
  <a href="__BASE_ADDRESS__/archive.html">Mailing Lists</a>
@@ -139,10 +140,8 @@
 m4_define(`__DOC_HEADER__', `__HTML_HEADER__([[[$1]]])
 __MENU__
 <div id="nav2">
-<form name="docform">
 m4_include([[[doc/alphabetic.include]]])
 m4_include([[[doc/menu.include]]])
-</form>
 </div>
 <div id="content">
 ')m4_dnl
@@ -212,7 +211,7 @@
 m4_dnl
 m4_define(`__TRAILER__', `
 </div>
-<div id="sf_logo">
+<div class="sf_logo">
   <a  href="__SOURCEFORGE__"><img src="__SOURCEFORGE__/sflogo.php?__GROUP_ID__&amp;type=1"  width="88"
 height="31" style="border: 0;" alt="SourceForge.net Logo"  /></a>
 </div>
--- a/www/octave-forge.css	Tue Oct 17 19:09:26 2006 +0000
+++ b/www/octave-forge.css	Tue Oct 17 19:12:37 2006 +0000
@@ -56,10 +56,34 @@
 
 div#nav2 {
   float: right;
-  background-color: #73d216; //#4e9a06;
+  background-color: #73d216;
+  color: black;
   padding: 3px;
 }
 
+/* The style for the function refeence sections */
+.func {
+  background-color: inherit;
+  color: inherit;
+  text-align: left;
+  display: block;
+  float: left;
+}
+
+.flink {
+  background-color: inherit;
+  color: inherit;
+  text-align: right;
+  display: block;
+  float: right;
+}
+
+.ftext {
+  margin-left: 5ex;
+  margin-bottom: 2ex;
+  clear: both;
+}
+
 /* the page content */
 
 div#content {
@@ -68,9 +92,11 @@
   margin-top: 3em;
 }
 
-div#sf_logo {
+.sf_logo {
   text-align: right;
   position: relative;
+  display: block;
+  float: right;
   top: 3em;
 }