I have five buttons that each open a lightbox slide with five different web addresses (in web objects).
Here is a sample of the code I've tried:
var player = GetPlayer();
Unfortunately, it doesn't work the way we want it to, it opens the new URL in the parent window, replacing Storyline. Not good... need it to open the URL in the lightbox web object, not the browser main window.
This way, I can have as many buttons as I want, without having a lightbox hard-coded for each button. My question: How do I replace the web address of the web object in the lightbox? Thank you all for your help! ACE