Hello, I want to change the graphics I included in one of the option for a multiple choice question type after certain seconds. I wrote the following code, but it doesn't work. Does anyone has an idea how to fix it? I want to change choice A's image to something else after 4000 milliseconds. var delayTime2=4000; setTimeout(function(){ console.log(jQuery("#QID68-1-label")); console.log(jQuery("#QID68-1-label").find("img")); jQuery("#QID68-1-label").find("img").attr("src","https://iu.co1.qualtrics.com/WRQualtricsControlPanel/Graphic.php?IM=IM_8dCmD7RnfZIh4c5"); }, delayTime2); });
Hi, I want to do the following, and wondered if any one has thoughts on it? 1. A button that allows me to click on 2. A pop up with a graphic when I click on it I solved 1, 2, but not the problems are 1. It briefly shows the graphic before I click the button. (Not supposed to see it before I click on the button) 2. I need data on 1) when people click on this button 2) when people close this popup. 3) when people leave this page... how can I do that? Thanks a lot!!
Hi all, I'm trying to do the following two things, and wondered if any one could help me. 1. I currently has a popup being open on the Qualtrics.When participants close the popup, I want one of the graphics inserted to one of the multiple choice option to change. Is that possible? 2. After certain seconds, can I have one of the multiple choice graphic change to the other image? Thank you!
Hi all, I created this popup, but the popup stays open even when participants proceed to the next page. How can I make automatically closed at the next page? I need this popup to be closed on the next page, if participants don't close on this page. This is my code: Qualtrics.SurveyEngine.addOnload(function() { }); Qualtrics.SurveyEngine.addOnReady(function() { jQuery("[id*='dialog']" ).dialog({ autoOpen: false}); var delayTime = 3000; //This is the time of delay setTimeout(function(){jQuery("[id*='dialog']" ).dialog({ autoOpen: true, draggable:true, scroll:false, height:'auto', width:'750x', open: function(event,ui){ $(event.target).parent().css('position', 'fixed'); $(event.target).parent().css('top', '50px'); $(event.target).parent().css('left', '500px'); } })}, delayTime); }); Qualtrics.SurveyEngine.addOnUnload(function() { });
Hi all, I want to collect data when people click on "btn1" (see the javascript below). Could anyone help?! I specifically need to collect the data when people click on this button to close this popup window so that when I download data, it shows when people closed this window. Below is the code I have. Thank you SO MUCH in advance!! Qualtrics.SurveyEngine.addOnReady(function() { jQuery("[id*='dialog']" ).dialog({ autoOpen: false}); jQuery( "#btn1" ).click(function() { jQuery("#dialog").dialog( "option", "modal", true ); jQuery("#dialog").dialog( "close" ); }); var delayTime = 3000; //This is the time of delay setTimeout(function(){jQuery("[id*='dialog']" ).dialog({ autoOpen: true, draggable:true, scroll:false, height:'auto', width:'750x', open: function(event,ui){ $(event.target).parent().css('position', 'fixed'); $(event.target).parent().css('top', '5px'); $(event.target).parent().css('left', '100px'); }
Hi all, I have several questions and wondered if you could help me. 1) I have this java code for a pop-up window, but I would like to know, when they close this window. So when I extract data on excel, I would like to have a column where it shows me when they closed this popup window. Qualtrics.SurveyEngine.addOnReady(function() { jQuery("[id*='dialog']" ).dialog({ autoOpen: false}); var delayTime = 3000; //This is the time of delay setTimeout(function(){jQuery("[id*='dialog']" ).dialog({ autoOpen: true, draggable:true, scroll:false, height:'auto', width:'750x', open: function(event,ui){ $(event.target).parent().css('position', 'fixed'); $(event.target).parent().css('top', '5px'); $(event.target).parent().css('left', '100px'); } })}, delayTime); }); 2) On this same page, I want a button that people can click on see the same pop-up window. But I don't want to button to be displayed before they see the popup from 1). The code I have for this r
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.
Hi, I am having problems with the graphic size. On the survey creation page, I see the image as the size I wanted. But when I preview it/publish it, it shows me a much smaller size of image, so small that you cannot even see it. I also edited the overall question size via java script as well. Anybody encountering same issue? Thanks!
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.