Property name: Java Script

From Catglobe Wiki
Revision as of 10:59, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



Property name: Java Script [“movie_name_1”,“movie_name_2”,…])

where - value: a number which starts from 1.

If the trace bar is not shown, its value will be the answer to this question. Otherwise, the answer to this question will be calculated through the movement the respondent made on the trace bar.

- movie_name_x: name of a movie clip which will be added to this question.

The valid file is one of multimedia file types such as .asf, .wma, .wmv, .avi, .mpe, .mpg, etc. To know more about these file types, visit http://support.microsoft.com/kb/3169

 quest.mm.showtrace = true/false

- If its value is true, the trace bar will be shown in the clip. While watching the clip, the respondent can move the arrow on the trace bar to indicate how interesting the clip is. This information will be calculated to produce an answer to this question.

- If its value is false, the trace bar won’t be shown. The answer to this question is the number in the statement addSequence above.

 quest.mm.width = widthquest.mm.height = height- width: the width of all movie clips.- height: the height of all movie clips.All these values are numbers greater than or equal to 1.

For other question types:

If a question has property Required, when the respondent answers it and move to the next one, this question will be checked to satisfy some conditions. If these conditions are satisfied, it can move to a next question. However, if in the Script text property of this question contains the text below, the respondent does not have to answer it:

function questioncheck(){} |- align="left" valign="top" | style="border: 1px solid #010101" width="210" | Formatting | style="border: 1px solid #010101" width="809" | JavaScript language |- align="left" valign="top" | style="border: 1px solid #010101" width="210" | Screen examples | style="border: 1px solid #010101" width="809" | This image shows how the Questionnaire Editor looks when it has the Script text property.

Script1