Differences

This shows you the differences between two versions of the page.

general:expanders [2009/07/12 00:23] (current)
athenaofdelphi created
Line 1: Line 1:
 +====== Expanding Sections ======
 +To make pages more compact, some of them contain expanding sections.  These sections of content can have their visibility toggled using toggle links embedded in the page.
 +
 +===== What does a toggle link look like? =====
 +
 +{{:media:expander1.png|Machine information toggles}} {{:media:expander2.png|Section header toggle}}
 +
 +These screenshot sections show two examples of toggle links.  They normally have a '+' symbol next to them, and clicking them will result in the toggling of the visibility of the content they control.  The first example above, the three links control sections that contain the 'Other Information', 'DXDiag Report' and 'OpenGL Report' information from your machine specification, whilst the second example illustrates an expanding section header.  Clicking it will toggle the visibility of the section to which it relates.
 +
 +===== Expand all and Collapse all =====
 +Obviously there could be a lot of toggles on some pages (say a competition with 5 judges, each of which owns 3 machines for which they have supplied full details... thats 45 toggles links :-\).
 +
 +To make your life easier, where there are lots of related expanding sections, two additional links will normally be provided.  One to expand all sections and another to collapse them again.  As with standard toggle links, the master control links are also prefixed with a '+' symbol.
 +
 +Here is an example:-
 +
 +{{:media:expander3.png|Master expand and collapse links}}

Personal Tools