File:  [LON-CAPA] / loncom / html / adm / help / tex / Authoring_RankResponse.tex
Revision 1.2: download - view: text, annotated - select for diffs
Tue Jan 24 19:26:27 2017 UTC (7 years, 5 months ago) by damieng
Branches: MAIN
CVS tags: version_2_12_X, HEAD
misc minor edits in authoring doc

\label{Authoring_RankResponse}\index{rankresponse}

\textbf{rankresponse} asks to sort a list of items in the right order.
The foils \textbf{value} attribute is a number used to specify the correct order.
If two items are equivalent, ranking is done in the same way as it is done for sports events.
Say that there are two second places, then the ranking is ``1 2 2 4 5 6''.
For three second places, the correct ranking is ``1 2 2 2 5 6''.
\\ \\
Possible attributes are:
\begin{itemize}
  \item \textbf{max}: the maximum number of foils displayed at once
  \item \textbf{randomize}: set to \texttt{yes} to randomize the order of foils when displayed
\end{itemize}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>