-
1. Re: global javascript functions in cp8
Lilybiri Aug 29, 2014 7:52 AM (in response to Russ_E)Add the function to the JS file that is a normal companion of a CP published file? Jim Leichliter explains this very well in his video course, although it is for CP7.
JavaScript Video Series for Adobe Captivate 7 - CaptivateDev.com
-
2. Re: global javascript functions in cp8
Russ_E Aug 29, 2014 9:24 AM (in response to Lilybiri)Yeah, that's always an option, and I've often edited some of the core files after publishing to get the result that I wanted.
It works, but then every time I publish, my changes to the files are lost.
I was really looking to avoid the workflow where my edits get overridden on publish and then have to be re-tweaked again.
Hoping for an easier way to insert a javascript function that all the pages can utilize and not have to repeat.
thanks for the response though
-
3. Re: global javascript functions in cp8
Russ_E Aug 29, 2014 11:11 AM (in response to Russ_E)figured out a workaround anyway.
added a call to an external js file in the template cp uses to create the output file.



