switch_state_1 optional default (empty; with switch_state_2 empty becomes the [+] icon)Label for the link in the default (collapsed) state, before the inline content is replaced. May contain the icon marker [+], which expands to the plus icon. If both switch_state_1 and switch_state_2 are empty, the labels default to the [+] and [-] icons.
code_1 optional default (empty)HTML shown inline as the default (first) state, inside the first toggleclass div. This is the always-loaded summary; keep it short.
switch_state_2 optional default (empty; with switch_state_1 empty becomes the [-] icon)Label for the link once the second state is open. May contain the icon marker [-], which expands to the minus icon. Defaults to the [-] icon when both labels are empty.
url optional default (empty)Same-server URL whose response is fetched by AJAX and placed in the second div the first time the toggle is opened. Typically an AA view, e.g. /aadev/view.php?vid=NN. A cross-origin URL will not load. If empty, the second state opens empty.
position optional default topWhere the toggle link sits relative to the two content divs. top (the default) renders the link first, then the divs; bottom renders the divs first, then the link below them. Any value other than bottom is treated as top.
{htmlajaxtoggle:Read more:Short summary shown inline.:Show less:/aadev/view.php?vid=143}
{htmlajaxtoggle:::::/aadev/view.php?vid=143}
{htmlajaxtoggle:[+] details:Name and date.:[-] details:/aadev/view.php?vid=143}
{htmlajaxtoggle:Show related items:Click to load the related list.:Hide:/aadev/view.php?vid=143}
{htmlajaxtoggle:Show more:Summary line.:Show less:/aadev/view.php?vid=143:bottom}