External Web Link

We love the new external web link feature, but we have a specific project that requires some of our links to open in the same window instead of a new window. Is there a way we can edit the published package so that some of our links open in the same window?

Comments

  • t_johnbt_johnb [email protected] Community Member Posts: 295 ☆ Roadie ☆
    If you want to change out the current windows contents, effectively exiting the scenario, you could use the JavaScript notifications that are detailed here:

    https://cenariovr.com/blog-posts/communicating-between-cenariovr-and-other-content.html

    Basically, you'll need to "catch" the notifications in script in the outside frame that is hosting the content, and then change out the current window contents.
  • carlfinkcarlfink Community Member Posts: 699 ✶ Headliner ✶
    Have you considered adding a feature like what Second Life has, where a web page can be displayed in a frame within their VR environment? I suspect that's what Heather is looking for.
  • hmiller3390hmiller3390 Community Member Posts: 6
    That would also be a cool feature that I'm sure we could use in other projects.

    For this project, we have created a virtual tour and to keep the published file size down, we built each tour location as a separate Cenario file. We uploaded the separate published files for each location to a web server (so each location is a separate external web link).

    We have hotspots in the tour that allow users to navigate to a specific tour location (the external web link to the published Cenario file). When it opens in a separate window, their previous location tab(s) remain open, so we really want to set it to open the new location in the same tab.
  • t_johnbt_johnb [email protected] Community Member Posts: 295 ☆ Roadie ☆
    You definitely will be able to use the JavaScript notifications to do that then. Just catch the notification for a click on a hotspot that you want to change the URL, and set the URL in your script.
  • hmiller3390hmiller3390 Community Member Posts: 6
    Great - thank you so much for your help!
Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!

The Big Launch - Exciting News From eLearning Brothers


eLearning Brothers is all set to rock the eLearning world in 2021, and we want to let you in on the plans! Join us for The Big Launch event, where you’ll hear from company leaders like Andrew Scivally, Co-founder and CEO, Christian Weibell, CPO, and more special guest stars. We’ve got a lot of eLearning awesomeness up our sleeve—you won’t want to miss The Big Launch.

REGISTER NOW