Applying different skins for a specific response or question
Summary | This article describes how to apply different skins for a specific response or question in AskiaDesign by using JavaScript. |
Applies to | AskiaDesign |
Written for | Scriptwriters and survey authors |
Keywords | skins; input; checkbox; radio button; pictures; javascript; design; askiadesign |
Download the example QEX file
You can apply different skins for responses or questions merged into the same screen. To do so, select the Responses and right-click Properties
For classical responses
Go to the Code in control input located in the HTML tab and enter the below code:
For Response blocks:
Go to the Code in control input located in the Response block tab and enter the below code:
Here for the state on and off:
imageBehaviour="on>skin|NameOfTheSkin,;off>skin|NameOfTheSkin,"
Here for the state on, off and over:
imageBehaviour="on>skin|NameOfTheSkin,;off>skin|NameOfTheSkin,;over>skin|NameOfTheSkin,"
Here for the state on, off, over and press:
imageBehaviour="on>skin|NameOfTheSkin,;off>skin|NameOfTheSkin,;over>skin|NameOfTheSkin,;press>skin|NameOfTheSkin,"
After you just have to replace NameOfTheSkin by the name of the skin that you would like to apply.