User Tools

Site Tools


mccolumns

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mccolumns [2023/12/02 16:28] – [lastSpans] adminmccolumns [2024/11/21 11:10] (current) – [landscapeWidth] admin
Line 49: Line 49:
 </code> </code>
 ===== Options ===== ===== Options =====
-==== buttons ==== 
-**buttons** is a boolean that specifies whether the Qualtrics theme being used has choices styled as buttons or not. All recent standard Qualtrics themes style choices as buttons. Some older "radio button and checkbox" themes do not. 
- 
-Default: true 
 ==== colGap ==== ==== colGap ====
 **colGap** is a string that specifies the amount of space between columns. **colGap** is a string that specifies the amount of space between columns.
Line 73: Line 69:
  
 Default: %%"column"%% Default: %%"column"%%
 +==== forceLandscape ====
 +**forceLandscape** is a boolean used to force mobile users to rotate their device to landscape mode. When true, if the browser window size is less than or equal to **[[mccolumns#landscapeWidth|landscapeWidth]]** the choices are hidden. **forceLandscape** should be used in conjunction with a CSS media rule that displays a message notifying the respondent to rotate their device.
 +
 +Default: false
 ==== labelMargin ==== ==== labelMargin ====
-**labelMargin** is a string that specifies how content should be positioned in a choice "button" (when **[[mccolumns#buttons|buttons]]** is true). Valid values are the same that are used in a CSS margin. The default is vertically centered and left justified. To center both vertically and horizontally use ''labelMargin:%%"auto"%%''+**labelMargin** is a string that specifies how content should be positioned in a choice "button". Valid values are the same that are used in a CSS margin. The default is vertically centered and left justified. To center both vertically and horizontally use ''labelMargin:%%"auto"%%''
  
 Default: %%"auto 0px"%% Default: %%"auto 0px"%%
 +==== landscapeWidth ====
 +**landscapeWidth** is a number specifying the window width in pixels that must be surpassed to be in landscape mode when **[[mccolumns#forceLandscape|forceLandscape]]** is true.
 +
 +Default: 480
 ==== lastSpans ==== ==== lastSpans ====
-**lastSpan** is a number that specifies the number of last choices that should span across all columns.+**lastSpans** is a number that specifies the number of last choices that should span across all columns.
  
 Default: 0 Default: 0
mccolumns.1701552526.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki