switch_state_1 optional default empty (falls back to the [+] icon when switch_state_2 is also empty)Text of the toggle link in its default (closed) state. Accepts plain text, HTML, or the icon shorthands [+] [-] [*] (plus, minus, loading images). If both switch states are left empty, the link uses the built-in [+] / [-] icons.
switch_state_2 optional default empty (falls back to the [-] icon when switch_state_1 is also empty)Text of the link in its open state, shown after the panel is revealed. Same formats as switch_state_1. Left empty together with switch_state_1, the link uses the built-in [+] / [-] icons.
css_rule_hide required default empty (no selector means the command outputs nothing)CSS selector matching the element(s) the link shows and hides - for example #panel, .details, or a descendant rule like #main div.details. This is the required core of the command: with no css_rule_hide the command returns an empty string.
url_of_text optional default empty (the panel is shown/hidden but no content is loaded)URL fetched by AJAX on the first click and inserted into the matched element. It must be on the same server (same-origin). A typical value is an AA view, e.g. /aadev/view.php?vid=33. The content loads once and is then cached on the link for subsequent toggles.
css_rule_update optional default same as css_rule_hideOptional CSS selector for the element(s) that receive the loaded content, when that is different from the element being shown/hidden. Useful for tables: toggle a whole row with css_rule_hide while updating only an inner cell with css_rule_update.
{htmlajaxtogglecss:Show details:Hide details:.detail-box:/aadev/view.php?vid=143}
{htmlajaxtogglecss:::.more-info:/aadev/view.php?vid=143}
{htmlajaxtogglecss:Detail:Close:#row-7:/aadev/view.php?vid=143:#row-7 td.body}
[{htmlajaxtogglecss:Show:Hide::/aadev/view.php?vid=143}]
{htmlajaxtogglecss:Read more:Read less:.extra:/aadev/view.php?vid=143}