httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r903055 - /httpd/httpd/trunk/docs/manual/mod/mod_autoindex.xml
Date Tue, 26 Jan 2010 02:36:11 GMT
Author: rbowen
Date: Tue Jan 26 02:36:10 2010
New Revision: 903055

Adds documentation for the new AddAltClass IndexOption, and for the new
CSS classes provided by IndexStyleSheet


Modified: httpd/httpd/trunk/docs/manual/mod/mod_autoindex.xml
--- httpd/httpd/trunk/docs/manual/mod/mod_autoindex.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_autoindex.xml Tue Jan 26 02:36:10 2010
@@ -830,6 +830,20 @@
       <dd>The <code>XHTML</code> keyword forces <module>mod_autoindex</module>
       to emit XHTML 1.0 code instead of HTML 3.2.</dd>
+      <dt><a name="indexoptions.addaltclass"
+               id="indexoptions.addaltclass">AddAltClass</a></dt>
+      <dd>Adds an additional CSS class declaration to each row of the
+      directory listing table when <code>IndexOptions HTMLTable</code> 
+      is in effect and an <code>IndexStyleSheet</code> is defined.
+      Rather than the standard <code>even</code> and <code>odd</code>
+      classes that would otherwise be applied to each row of the table,
+      a class of <code>even-<em>ALT</em></code> or
+      <code>odd-<em>ALT</em></code> where <em>ALT</em>
is either the
+      standard alt text associated with the file tyle (eg. <em>snd</em>,
+      <em>txt</em>, <em>img</em>, etc) or the alt text defined by
one of
+      the various <code>AddAlt*</code> directives.
+      </dd>
@@ -946,10 +960,23 @@
     <p>Using this directive in conjunction with <code>IndexOptions
-    HTMLTable</code> also adds <code>ai-tr-odd</code> and
-    <code>ai-tr-even</code> class declarations to alternating rows of
-    the directory listing table, so that you can style alternate rows of
-    the table differently.</p>
+    HTMLTable</code> adds a number of CSS classes to the resulting HTML.
+    The entire table is given a CSS id of <code>indexlist</code> and the
+    following classes are associated with the various parts of the
+    listing:</p>
+    <table>
+    <tr><th>Class</th><th>Definition</th></tr>
+    <tr><td>tr.indexhead</td><td>Header row of listing</td></tr>
+    <tr><td>th.indexcolicon and td.indexcolicon</td> <td>Icon column</td></tr>
+    <tr><td>th.indexcolname and td.indexcolname</td> <td>File name
+    <tr><td>th.indexcollastmod and td.indexcollastmod</td> <td>Last
modified column</td></tr>
+    <tr><td>th.indexcolsize and td.indexcolsize</td> <td>File size
+    <tr><td>th.indexcoldesc and td.indexcoldesc</td> <td>Description
+    <tr><td>tr.breakrow</td> <td>Horizontal rule at the bottom of
the table</td></tr>
+    <tr><td>tr.odd and tr.even</td> <td>Alternating even and odd
+    </table>

View raw message