Table Map: Difference between revisions
Jump to navigation
Jump to search
Bradley Monk (talk | contribs) (Created page with "== Section link or map link to a row anchor== To enable a section link's anchor (or a map link's anchor), referencing a specific row wi...") |
(No difference)
|
Latest revision as of 13:12, 20 September 2013
Section link or map link to a row anchor
To enable a section link's anchor (or a map link's anchor), referencing a specific row within a table, an id="section link anchor name" parameter needs to be added to the row start |- or <tr>:
|- id="section link anchor name"
<tr id="section link anchor name">
Note that each anchor name must be different from every other in the page (this includes heading names), to create valid XHTML.
- Example of a map link to a row
When a country label, containing a link, is clicked on the map, the link coded, for example, as [[#Table_row_11|Slovenia]] that references the anchor (within the table), coded as |- id="Table_row_11", will make the page scroll so the top line of the page (table) will be the selected row.
|
↦ |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
