how to add a .js file

Backend functionalities: user management, course management, reports, certificates, etc.
Post Reply
gihel
FormaLms User
Posts: 76
Joined: Tue Jun 26, 2018 4:36 pm
Version: forma.lms 2.0

how to add a .js file

Post 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
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: how to add a .js file

Post 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.
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
alfa24
Senior Boarder
Posts: 1982
Joined: Fri Nov 24, 2017 8:45 am

Re: how to add a .js file

Post 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...
Per supporto GRATUITO contattatemi in privato qui
gihel
FormaLms User
Posts: 76
Joined: Tue Jun 26, 2018 4:36 pm
Version: forma.lms 2.0

Re: how to add a .js file

Post 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
devank71
Newbie
Posts: 1
Joined: Thu May 30, 2019 7:16 am
Version: forma.lms 1.1
Location: Hyderabad
Contact:

Re: how to add a .js file

Post by devank71 »

Many thanks for sharing such a great solution, keep sharing.
Post Reply