Annotation of loncom/html/adm/help/tex/Authoring_ImageResponse.tex, revision 1.5

1.4       damieng     1: \label{Authoring_ImageResponse}\index{imageresponse}
1.1       bowersj2    2: 
                      3: \textbf{imageresponse} implements a image-click answer. \textbf{imageresponse}
1.2       vandui11    4: tags should contain a \textbf{foilgroup} tag, which contain \textbf{foil}
                      5: tags. Each \textbf{foil} tag can contain:
1.1       bowersj2    6: 
                      7: \begin{itemize}
                      8: \item \textbf{image}\index{image}: required. The delimited text should
                      9: correspond to a published image resource. Example: \texttt{<image>/res/adm/includes/templates/man1.jpg</image>}.
1.3       raeburn    10: The following image formats are recommended - gif, jpg or png.  Other formats may work, but there may be printing or display issues.
                     11: The image should only appear once per foil.
1.1       bowersj2   12: \item \textbf{rectangle}\index{rectangle}: required. The delimited text
                     13: specifies a rectangular area that is correct, specified as \texttt{(x1,y1)-(x2,y2)},
                     14: where x1, x2, y1, and y2 are number corresponding to the x and y coordinates
                     15: of two corners that define a rectangle which specifies where the right
                     16: answer for this foil is located on the image. For example, \texttt{(0,0)-(100,200)}
                     17: will specify that a rectangle 100 pixels wide and 200 pixels tall,
                     18: situated in the upper left of the image, is correct. At least one
                     19: rectangle is required; multiple rectangles may be specified.
                     20: \item \textbf{text}\index{text}: required. The delimited text is printed
                     21: before the image is shown on the screen. This text is typically used
                     22: to describe to the student what they are expected to click on.
                     23: \end{itemize}
1.4       damieng    24: 
1.5     ! damieng    25: Possible attributes for \textbf{imageresponse} are:
1.4       damieng    26: \begin{itemize}
                     27:   \item \textbf{max}: the maximum number of foils displayed at once
                     28:   (if more are specified, some will not be displayed)
                     29: \end{itemize}

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