The Elearning Community • how to add a .js file
Page 1 of 1

how to add a .js file

Posted: Thu Aug 09, 2018 5:49 pm
by gihel
Hi everybody
I would like use jquery with the code html I insert into learning object
I know we can use a custom.css, is it possible to have a custom.js (no conflict)..

Thank you so much

Re: how to add a .js file

Posted: Fri Aug 10, 2018 8:34 am
by max
Hi,

I don't understand what you want to achieve. The custom.css can be used for the template of the LMS, I don't understand how you want to use a .js file in the learning objects.

Re: how to add a .js file

Posted: Fri Aug 10, 2018 9:00 am
by alfa24
Maybe he/she wants to develop a complex html, with interactions or something related to dynamic content.

@gihel, with forma 2 you could try to insert script tags within your html source and try to call $ as jquery is already included, but I can't say whether it would work.
As an alternative, you may consider to build a SCORM package with all the resources you need, but to do this you should learn a lot of things...

Re: how to add a .js file

Posted: Fri Aug 10, 2018 12:24 pm
by gihel
Thank you
effectivly I would like to add interactivity to html like tooltip or other
I shall try your solution alfa
Sorry but I don'speak english well

Re: how to add a .js file

Posted: Thu May 30, 2019 7:21 am
by devank71
Many thanks for sharing such a great solution, keep sharing.

Re: how to add a .js file

Posted: Wed Apr 29, 2020 7:04 pm
by tocnaza

This site uses cookies.

Some of the cookies we use are essential for parts of the site to operate and have already been set. We also use Google Analytics scripts, which all use cookies.
You may delete or block all cookies from this site in your browser options.