Skip to main content
Known Participant
January 30, 2016
Answered

Custom Javascript Functions?

  • January 30, 2016
  • 1 reply
  • 1059 views

If I wanted to write a small library of javascript functions that I can reuse with every project, where would I place my functions?

I recall from somewhere that I can edit a specific javascript file in the files that Captivate copies to the published version and have my functions always available. I just can't recall where that file is kept.

This topic has been closed for replies.
Correct answer TLCMediaDesign

HTML5

You need to put an include statement in the index.html here:

C:\Program Files\Adobe\Adobe Captivate 8 x64\HTML

Put your JavaScript file here:

C:\Program Files\Adobe\Adobe Captivate 8 x64\HTML\assets\js\

SWF

Put your scripts in this file:

C:\Program Files\Adobe\Adobe Captivate 8 x64\Templates\Publish\standard.js

1 reply

TLCMediaDesign
TLCMediaDesignCorrect answer
Inspiring
January 31, 2016

HTML5

You need to put an include statement in the index.html here:

C:\Program Files\Adobe\Adobe Captivate 8 x64\HTML

Put your JavaScript file here:

C:\Program Files\Adobe\Adobe Captivate 8 x64\HTML\assets\js\

SWF

Put your scripts in this file:

C:\Program Files\Adobe\Adobe Captivate 8 x64\Templates\Publish\standard.js

Kodiak100Author
Known Participant
February 1, 2016

Perfect, that is exactly what I was looking for.

Thanks!