Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
The place for more technical questions for those who want to create new pagetypes or bespoke functionality.
  • Page:
  • 1

TOPIC:

Using JavaScripts 7 years 9 months ago #4190

  • Robert Fant
  • Robert Fant's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
Greetings All,

I am new to Xerte, and am assuming that what I'm about to ask is even possible, so please bare with me

I would like to be able to use various Javascript Libraries in my projects.
Unfortunately I can't figure out how to import them, nor where to place them.
I have seen where I can write little snippets of JavaScript in the various pages, and call on the library files. I just don't know where to place the specific *.js file.

Any help would be much appreciated,

Thanks,
Robert

Please Connexion or Create an account to join the conversation.

Using JavaScripts 7 years 9 months ago #4192

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 847
  • Thank you received: 260
Assuming you mean with the XOT template rather than the Bootstrap template? The latter has a Javascript libraries optional property.
If you want script to be available throughout all the pages in an xot project add an optional script property to the first icon in the tree. Obviously you can add script in there directly or link to script too I think.
HTH
Ron
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/
The following user(s) said Thank You: Robert Fant

Please Connexion or Create an account to join the conversation.

Using JavaScripts 7 years 9 months ago #4193

  • Robert Fant
  • Robert Fant's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
Thanks Ron.
Yes, that worked.
And yes, you can link to external files.

This should keep me busy for a while.

Robert

Please Connexion or Create an account to join the conversation.

  • Page:
  • 1
Moderators: JohnSmith
Time to create page: 0.045 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search