How do I get an embedded iframe to launch a new window from inside the survey? | XM Community
Skip to main content
So, I have a lengthy survey that delivers online training. Each lesson is delivered with Storyline files that are embedded in an iframe. Due to our internal website security, I need to be able to launch each lesson in a new window. I have tried altering the html and using java script, but neither have worked. Does anybody have a good example of how to make this happen?



Thanks,

Liz
Have you tried adding target=“_blank” to your <a> tag?
Hi TomG,



I did try adding target="_blank" without success. I have since learned that our webpage security has set the X-Frame-Options to sameorigin, which is keeping the storyline files from displaying. As a workaround, I included a hyperlink directly to the storyline files, but this isn't my preferred solution. I am hoping to make a case for our IT security team to change the X-Frame-Options.



Thank you for the suggestion!

Liz

Leave a Reply