Back arrow Next arrow

Dirhtml Help - Scripts (Anchor Related)

SectionDescription, Use
/ANCHOR Adds text after a folder anchor in the file table
(e.g. &nbsp;&nbsp;<a href="#top">Top of page</a>)
Notes: This applies to anchors inside the file table, not to the anchor table.   To add code before anchors but within the anchor <td>, edit the "Anchor prefix" on the Default Words page.
/ANCHOR_BEFORE Adds text before a folder anchor in the file table (it should comprise an entire table row)
(e.g. <tr><td colspan="99" class="anchor-before">BLAH BLAH BLAH</td></tr>
Notes: This applies to anchors inside the file table, not to the anchor table.
/ANCHOR_TABLE_HEADER    Replaces the anchor <table> definition
(e.g. <table border="0" cellspacing="1" cellpadding="2" width="100%" class="anchor_table_class">)
/ANCHOR_TD Adds text to the <td> of cells containing an anchor in the file table
(e.g. style="font-weight: bold")
/ANCHOR_TABLE_TD Adds text to the <td> of cells in the anchor table
(e.g. class="anchor_element_td")
/ANCHOR_TABLE_TD2 The same as /ANCHOR_TABLE_TD, but for even numbered rows
/ANCHOR_TABLE_ROW    Adds text to <tr> for odd numbered rows in the anchor table   (Note: generally not needed, as definining a style for the whole table is more elegant)
(e.g. class="odd_anchor_row_class")
/ANCHOR_TABLE_ROW2 Adds text to <tr> for even numbered rows in the anchor table
(e.g. class="even_anchor_row_class")
/ANCHOR_HEADER_TD Adds text to the <th> of cells in the anchor table header
(e.g. class="header_td")
/ANCHOR_TABLE_START    Adds text after the anchor <table> definition
(e.g. <caption>This the caption</caption>
<tfoot><tr><td>This is the footer</td></tr></tfoot>
)
/ANCHOR_TABLE_END    Adds text before the anchor </table> end
(e.g. <tr><td colspan="99">Extra table row added</td></tr>)
/ANCHOR_HEADER Formatting for the title line of the anchor table that contains the default "Folder Anchors:" word (e.g. class="dark_blue")
Note: Overrides /HEADER_STYLE
/BEFORE_ANCHOR_NOT_FIRST_COLUMN    Adds text before all anchors that are not in the first column (e.g. &nbsp;&nbsp;)