Hi,
I'm trying to insert a game like the javascript snake (http://www.me.umn.edu/~dockt036/snake.html) on qualtrics survey.
First, I tried to directly insert the java code shared on github but had no luck in that.
Secondly, I tried to insert the web page itself using the <iframe> but it seems to always come up with errors with html games but not with ordinary sites.
Does anybody know a solution to this? So I can embed a simple game into my qualtrics?
Page 1 / 1
Inserting games can be done but it’s not strictly a copy paste job.
You will need to identify what is HTML and what is JavaScript. The latter can only work in the JS editor, whereas HTML would be placed in the Source of the Question.
Additionally look through the HTML for links to additional JavaScript. Games typically reference other libraries. These should be moved to the Look and Feel > Header. Note that if they are loading in jQuery you would remove that reference and may need to go through their code and replace any reference to ‘$’ with ‘jQuery’.
You will need to identify what is HTML and what is JavaScript. The latter can only work in the JS editor, whereas HTML would be placed in the Source of the Question.
Additionally look through the HTML for links to additional JavaScript. Games typically reference other libraries. These should be moved to the Look and Feel > Header. Note that if they are loading in jQuery you would remove that reference and may need to go through their code and replace any reference to ‘$’ with ‘jQuery’.
I got bored: https://qualtricssfi.az1.qualtrics.com/jfe/preview/SV_41lgV8tVSdM9w8J?Q_SurveyVersionID=current&Q_CHL=preview
> @mattyb513 said:
> I got bored
>
>
---the entire reason I am on this site most days . That and I don't want to lose my leader board ranking, lol.
> I got bored
>
>
---the entire reason I am on this site most days . That and I don't want to lose my leader board ranking, lol.
Hi, I have inserted the snake game in one of my surveys (thank you so much for the .qsf!). I have two questions concering the game:
1) The game code changes the background of my internet explorer to red --which is fine for the game, but the red background remains throughout the rest of the survey. Is there any way to get around this? I have already asked qualtrics support but they could not help me.
2) Is there any way to count the rounds someone is playing (apart from asking them directly)?
Thanks!
1) The game code changes the background of my internet explorer to red --which is fine for the game, but the red background remains throughout the rest of the survey. Is there any way to get around this? I have already asked qualtrics support but they could not help me.
2) Is there any way to count the rounds someone is playing (apart from asking them directly)?
Thanks!
https://www.qualtrics.com/community/discussion/comment/10512#Comment_10512Did you solve this issue? I am experiencing the same thing. Please let me know if you figured out a solution (:
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.