Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How can I use JS to make a button click open another module?

New Here ,
Apr 12, 2016 Apr 12, 2016

I'm trying to use the current JS Interface to open another module/project from a button action. It has to do this when interacting with SCORM. I don't think I cant open files with this JS Interface.

218
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 12, 2016 Apr 12, 2016

I there any particular reason why you do not want to use the command Open File or Open Project?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 12, 2016 Apr 12, 2016

Are you talking about within the actions pane? I did that and it gave me an error message saying I can't do that. They're in the same parent folder, too. I'm also trying to write an IF Statement to have a button open another module/project and set a global variable via JavaScript but I'm stumped on that.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 13, 2016 Apr 13, 2016
LATEST

Can you post that error message?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources