FINISH ElementContains text and/or one or more buttons that are displayed when the user "completes" a location. Syntax<FINISH PROMPT="prompt"> ... </FINISH> Attributes
PlacementThe FINISH element must be a child of the LOC element, or of the GLOBAL element when specifying settings for all locations. ChildrenThe following child element is supported: RemarksBuilt-in location types, such as Questions and Hangman, display a button after each question or word which takes the user to the next question or word. When no questions or words remain, TQS will, by default, not display anything. Any buttons and/or text specified in the FINISH element will be displayed. The PROMPT string can contain HTML markup. Examples<FINISH PROMPT="You have finished my Hangman game! <br>Use the Main Menu button to continue."/> <LOC ID="1"> <FINISH> <BUTTON TITLE="Play again" TARGET="1"/> <BUTTON TITLE="Return to menu" TARGET="0"/> ... </FINISH> ... </LOC> <GLOBAL> <FINISH> <BUTTON TITLE="Restart" TARGET="LOCPOS:0,LOCPOS:1" APPLIESTO="GREATER" GREATER="LOCPOS:1&gt;0" /> <BUTTON TITLE="Back to Menu" TARGET="LOCPOS:0,0" APPLIESTO="GREATER" GREATER="LOCPOS:1&gt;0" /> </FINISH> ... </GLOBAL> |