--- loncom/html/adm/help/tex/Authoring_Scripting_Tags.tex 2013/08/17 21:25:18 1.4 +++ loncom/html/adm/help/tex/Authoring_Scripting_Tags.tex 2017/01/19 21:12:45 1.6 @@ -13,6 +13,8 @@ definitions for new tags. set to {}``loncapa/perl'' the enclosed data is a Perl script which is evaluated inside the Perl safe space. The return value of the script is ignored. +Without a \textbf{type} attribute or with the \texttt{text/javascript} value, +the script is considered to be Javascript, and will be executed as such by the web browser. \item \textbf{scriptlib}\index{scriptlib}: The enclosed filename contains Perl code to run in the safe space. \item \textbf{block}\index{block}: This has a required argument \textbf{condition} @@ -34,8 +36,8 @@ students will work all parts only if \te of parts wrapped. When N is less than the total number of parts wrapped, there will be gaps in the assessment chart, and also in the table of submissions for each student, corresponding to those parts which are -never available to that particular student. For more examples see section -\ref{Authoring_Library_Scripts}. +never available to that particular student. For more examples see Authoring +Library Files section \ref{Authoring_Library_Scripts}. \item \textbf{solved}\index{solved}: Everything inside the tag is skipped if the problem is {}``not solved''. \item \textbf{while}\index{while}: This implements a while loop. The required