Skip to main content
thisguy4xapi
Inspiring
April 12, 2016
Question

Captivate 9 opening a URL glitch/challenge?

  • April 12, 2016
  • 2 replies
  • 306 views

I have created a series of interwoven captivate pieces that all play from a web server.

I have set it up as follows training.company.com/training for the main menu.  When you select an item, Caprtivate uses an open URL button that goes one step deeper for instance training.company.com/training/training1.  Captivate carries the extension so in my goto url button on the menu I simple put in training1 and the rest of the link is taken with.

Here is my question/problem.  I now want to create a button from training.company.com/training/training1 that will return me to the original training.company.com/training menu site.  But the only way I can accomplish this is by opening a new browser window. When I try to replace parent captivate sends it to: training.company.com/training/training1/training.company.com/training becuase it carries the extension with?


I have also tried to do it with Javascript using window.location.replace('training.company.com/training'); which yields the same result of :training.company.com/training/training1/training.company.com/training

Any suggestions how to get around this would be appreciated.

Thanks

Brian

    This topic has been closed for replies.

    2 replies

    Inspiring
    April 13, 2016

    I'd suggest each lesson have a button with, instead of Open URL or file,  Execute JavaScript as it's action.  The JavaScript would be history.go(-1).  This will take the student back to the previous page in the browser, which should be your main menu.

    Just a thought.

    OBattenDev87
    Participant
    April 12, 2016

    I'm kinda trying to do the same thing but I need for the button to open another project or html file, while in SCORM, and I keep getting errors.