bubbleburst
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
bubbleburst [2022/09/30 13:34] – [JavaScript Function Call] admin | bubbleburst [2025/09/02 15:36] (current) – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== bubbleBurst - Rank/Select Top N with Animation ====== | + | ====== bubbleBurst - Rank/Select Top n with Animation ====== |
- | The **bubbleBurst** function converts a Qualtrics multi-select, | + | The **bubbleBurst** function converts a Qualtrics multi-select, |
* Supports text or image choices | * Supports text or image choices | ||
- | * Automatically detects Rank or Top X mode based on "allow text" configuration | + | * Automatically detects Rank or Top //n// mode based on "allow text" configuration |
- | * Specify number of items to be ranked/ | + | * Specify |
+ | * Automatically adjusts maximum based on number of displayed choices | ||
* Optional auto advance when last item ranked/ | * Optional auto advance when last item ranked/ | ||
* Optional auto ranking/ | * Optional auto ranking/ | ||
* Reset option | * Reset option | ||
+ | * Supports Exclusive and 'No more' choices | ||
* Customize animation settings | * Customize animation settings | ||
* Customize status text | * Customize status text | ||
Line 13: | Line 15: | ||
{{ :: | {{ :: | ||
- | This function is available for a reasonable fee. Contact [[https:// | + | This function is available for a reasonable fee. Contact |
===== Set-up Instructions ===== | ===== Set-up Instructions ===== | ||
==== Add Function To Survey ==== | ==== Add Function To Survey ==== | ||
- | To make the function available to all questions in the survey, copy the function to the Survey Header inside a script tag: | ||
Add the bubbleBurst function to the survey header to make it available to any question in the survey. | Add the bubbleBurst function to the survey header to make it available to any question in the survey. | ||
< | < | ||
Line 33: | Line 34: | ||
< | < | ||
Qualtrics.SurveyEngine.addOnload(function() { | Qualtrics.SurveyEngine.addOnload(function() { | ||
- | bubbleBurst(this, | + | bubbleBurst(this, |
}); | }); | ||
</ | </ | ||
Line 45: | Line 46: | ||
==== Ranking ==== | ==== Ranking ==== | ||
To enable ranking turn on "Allow Text" for each choice in the multiple choice question. | To enable ranking turn on "Allow Text" for each choice in the multiple choice question. | ||
+ | ==== 'No More' choice ==== | ||
+ | A 'no more' choice is a choice used to by the respondent to end the pick/rank process once the minimum number of items have been selected. It is only visible once the minimum number of choices have been selected. It is similar to an exclusive choice, except it is only exclusive among the remaining choices instead of all choices. To create a 'no more' choice, use html like the following: | ||
+ | < | ||
+ | <span class=" | ||
+ | </ | ||
===== Options ===== | ===== Options ===== | ||
==== autoNext ==== | ==== autoNext ==== | ||
**autoNext** turns on automatic advance to next page when last item is ranked/ | **autoNext** turns on automatic advance to next page when last item is ranked/ | ||
+ | |||
+ | Default: true (on) | ||
+ | ==== autoNextExclusive ==== | ||
+ | **autoNextExclusive** turns on automatic advance to next page when an exclusive or **[[bubbleBurst# | ||
Default: true (on) | Default: true (on) | ||
Line 61: | Line 71: | ||
**fontSize** is an array containing start and stop font sizes for explode animation effect. | **fontSize** is an array containing start and stop font sizes for explode animation effect. | ||
- | Default: [" | + | Default: |
==== image ==== | ==== image ==== | ||
**image** turns on shrinking image animation for image choices. | **image** turns on shrinking image animation for image choices. | ||
Line 67: | Line 77: | ||
Default: false | Default: false | ||
==== max ==== | ==== max ==== | ||
- | **max** | + | **max** |
+ | |||
+ | Default: 0 | ||
+ | ==== min ==== | ||
+ | **min** is the minimum number of items that should | ||
- | Default: | + | Default: |
==== opacity ==== | ==== opacity ==== | ||
**opacity** is an array containing the start and stop opacity for text or image animations. | **opacity** is an array containing the start and stop opacity for text or image animations. | ||
Line 77: | Line 91: | ||
**ordinalList** is an array that specifies the ordinal list text to replace the [ordinal] token in the status update message when items are ranked/ | **ordinalList** is an array that specifies the ordinal list text to replace the [ordinal] token in the status update message when items are ranked/ | ||
- | Default: ["", | + | Default: |
==== reset ==== | ==== reset ==== | ||
**reset** turns on reset button display and functionality. | **reset** turns on reset button display and functionality. | ||
Line 87: | Line 101: | ||
Default: Reset | Default: Reset | ||
==== statusDone ==== | ==== statusDone ==== | ||
- | **statusDone** specifies the status text to display when the last (max) item has been ranked/ | + | **statusDone** specifies the status text to display when the last (max) item has been ranked/ |
- | Default: Done! ([count]/ | + | Default: |
==== statusUpdate ==== | ==== statusUpdate ==== | ||
- | **statusUpdate** specifies the status update text before the last item is selected/ | + | **statusUpdate** specifies the status update text before the last item is selected/ |
- | Default: Select the [ordinal] most important item. ([count]/ | + | Default: |
==== timeout ==== | ==== timeout ==== | ||
**timeout** is the length of animation in milliseconds. | **timeout** is the length of animation in milliseconds. |
bubbleburst.1664559263.txt.gz · Last modified: by admin