how to add a .js file

Questions about the backend functionalities: configuration, user management, course management, ...
Post Reply
gihel
Newbie
Posts: 14
Joined: Tue Jun 26, 2018 4:36 pm
Version: forma.lms 2.0

how to add a .js file

Post by gihel » Thu Aug 09, 2018 5:49 pm

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

User avatar
max
FormaLms Guru
Posts: 1732
Joined: Thu Mar 01, 2012 10:41 am

Re: how to add a .js file

Post by max » Fri Aug 10, 2018 8:34 am

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.
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
http://www.elearnit.net
http://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
http://elearnit.wordpress.com
Skype: m_ferrari_it

alfa24
FormaLms Expert
Posts: 118
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: how to add a .js file

Post by alfa24 » Fri Aug 10, 2018 9:00 am

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...
I'm Jasmines, the One

gihel
Newbie
Posts: 14
Joined: Tue Jun 26, 2018 4:36 pm
Version: forma.lms 2.0

Re: how to add a .js file

Post by gihel » Fri Aug 10, 2018 12:24 pm

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

Post Reply