Delay hotspot response? | XM Community
Solved

Delay hotspot response?

  • 15 October 2018
  • 4 replies
  • 91 views

Hello,

I would like to delay hotspot regions from being clickable/selectable for a certain amount of time and I have no idea how to do this. Could anyone help me?

Thanks,
S
icon

Best answer by Anonymous 15 October 2018, 07:42

View original

4 replies

Wonderful! I can confirm that works. Thank you so much!
Hello @syntheso ,

Paste the following code in the js(OnReady) of the Hot spot question

jQuery(".QuestionBody").css('pointer-events','none');
setTimeout(function () { jQuery(".QuestionBody").css('pointer-events','');},4000);

The above code will prevent the user from making any events(clickable/selectable) on the hot spot graphic for 4000ms (you can change the value of time as per your requirement)
Hi Bansal, thank you for your response.

It's not quite what I'm after because I want the image to appear first before it is possible to click a hotspot on it.

The image is a gif, so I only want to be able to click it when the gif animation has finished.

Thanks,
Userlevel 7
Badge +33
You can show text first and image will appear with delay, read post below for code:-

https://www.qualtrics.com/community/discussion/1920/delay-a-quesiton-from-appearing

Leave a Reply