Copy link to clipboard
Copied
I have two web objects to display one is visible and displayed as you enter the slide. I have created a button to show the second web object and checked the display in new browser window in the properties. The second web object is set as invisible in the properties and the button is set to show the second web object. However the second web object displays straight away when the project is previewed?
Copy link to clipboard
Copied
Perhaps you can put the 2nd WO after the pause point of the button, then set the button action to continue. You can't control the visibility of an object opened in a separate tab.
Copy link to clipboard
Copied
Use the Timeline: stagger the webobjects on that timeline so that the second object is starting later. Move the pausing point of the button so that it is slightly before the start of the timeline of the second web object. Or use micronavigation.
Copy link to clipboard
Copied
First of all, as an FYI - opening in a new window will trigger a pop-up window. Which may or may not get blocked by your user’s browsers.
That being said, if you know the URL of the WO, you can do the same thing with JavaScript:
window.open(”https://urlToTheWO”);
just have the button execute JavaScript and use the code above, adding the URL to your Web object.
Copy link to clipboard
Copied
Thanks for you help people , I moved the pause point and this sorted the problem. chrism45366180 thank you for the java, Is there a java fix if it is embedded code as opposed to a URL?
Copy link to clipboard
Copied
Embeds are more tricky - the easiest would be instead of using the embed code, to use a direct link to the video? or other thing you are embedding.
Otherwise you need to create an html page with the embed code. include the html file in your manifest and then in window.open
add the html file name and any folder structure if it is not on the same folder leve as your index.html file