Difference between revisions of "Double columns in text grids"

From Catglobe Wiki
Jump to: navigation, search
m (Double columns in a Text grid)
 
Line 1: Line 1:
Include the following Javascript
+
== Challenge ==
 +
Showing textfields of a text grid or answers options of single/multik grid in more than one column
  
<code>
+
== Solution ==
quest.gridcolumns[0] = "Text 1";<br/>
+
Using Java Script property of question.
 +
 
 +
== Code 1 ==
 +
<source lang="javascript">
 +
//Include the following Javascript
 +
quest.gridcolumns[0] = "Text 1";
 
quest.gridcolumns[1] = "Text 2";
 
quest.gridcolumns[1] = "Text 2";
</code>
+
...
 +
 
 +
</source>

Revision as of 14:27, 1 July 2009

Challenge

Showing textfields of a text grid or answers options of single/multik grid in more than one column

Solution

Using Java Script property of question.

Code 1

//Include the following Javascript
quest.gridcolumns[0] = "Text 1";
quest.gridcolumns[1] = "Text 2";
...