Popup window Location | XM Community
Question

Popup window Location

  • 14 September 2019
  • 1 reply
  • 6 views

Userlevel 1
Hi all,

I have created a pop up window, but I want it to be displayed at certain part of the page.... So far, the java code I have is:

jQuery("[id*='dialog']" ).dialog({ autoOpen: false});

var delayTime = 3000; //This is the time of delay

setTimeout(function(){jQuery("[id*='dialog']" ).dialog({ autoOpen: true})}, delayTime);


Specifically, I want it to be displayed so that it is one top on one of the multiple choices participants see.
Could anyone help?


Thank you.

1 reply

Userlevel 1
I tried this, but this didn't help...
I specifically want it to be displayed on top of one of the multiple choice I have

jQuery("[id*='dialog']" ).dialog({ autoOpen: false});

var delayTime = 3000; //This is the time of delay
setTimeout(function(){jQuery("[id*='dialog']" ).dialog({ autoOpen: true, position:[500,500]
})}, delayTime);

Leave a Reply