Here is an example of how you could use javascript buttons on a page. Inside a info node on the page if you add the name of your function. ^mainpage()^ In a script node if you name the function the same and enter the code – function mainpage() { var outputHTML = “”; outputHTML += […]
Small image in survey, click to enlarge
This code will add a small image to survey page and will enlarge the image if the user clicks on it. HTML in survey question × Style script in the instruction node – JavaScript node – // Get the modal var modal = document.getElementById(‘myModal’); // Get the image and insert it inside the modal – […]