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

Can't access JS file on LAN from Air

Explorer ,
May 28, 2010 May 28, 2010

RoboHelp HTML 8.0.2.208

In the default page of the help project, I need to include a javascript file that is on a file server on the LAN.  When I test the page with the preview button, everything works fine, but when I compile the Air help, it can't access the JS file.

I've tried both of the following methds to include the file:

<script type="text/javascript" src="\\lan.local\folder\folder\folder\folder\file.js"></script>

<script type="text/javascript" src="file://lan.local/folder/folder/folder/folder/file.js"></script>

Both methods work in the preview, but not in the compiled help.

Why don't I just include the JS file in the project?  The purpose of the file is to test if the user has LAN access.  So the file has to be on the LAN outside of the help.

Thanks in advance for any help

540
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
Explorer ,
May 28, 2010 May 28, 2010
LATEST

I found the answer:

"HTML pages in the application sandbox cannot use the script tag to load JavaScript files from outside  of the the application directory. "

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
RoboHelp Documentation
Download Adobe RoboHelp