====== mcOrbit - Arrange choices in circle ======
The **mcOrbit** function arrange the choices of a multiple choice question in a circle. Features include:
* Supports single/multi-select and randomization
* Supports setting position of first choice
* Supports setting of circle radius and circle center
* Supports styling of choice test
Here is an example:\\
{{ ::mcOrbit.jpg?400 |mcOrbit Example}}
This function is available for a reasonable fee. Contact **[[https://community.qualtrics.com/inbox/conversation?with=373]]** on the Qualtrics Community to learn more.
===== Set-up Instructions =====
==== Survey Header ====
Add the mcOrbit function to the survey header to make it available to any question in the survey. Go to Look & Feel -> General -> Header edit -> {{::icon_source.jpg?20|}} and paste the provided mcOrbit function JS:
Alternatively, paste the mcOrbit function JS into a question's JS outside the existing Qualtrics functions to make it available to questions on the page.
=== Question HTML ===
Add HTML to the question to contain the circle and choices:
To add a picture in the center of the circle, add a background image to the %%
=== Question JavaScript ===
Add JS to call the mcOrbit function to apply it to the multiple choice question as follows:
Qualtrics.SurveyEngine.addOnload(function() {
mcOrbit(this);
});
To override the default options, specify the desired **[[mcorbit#options|options]]** is the second function argument as an object. For example:
Qualtrics.SurveyEngine.addOnload(function() {
mcOrbit(this, {start:-60,radius:"8em",top:"42%",left:"48%"});
});
=== CSS ===
Use the classes circleItem and circleChecked to style the choices inside a %%