close fullscreen

Support Ticket

How do I add a javascript file?+status
answered
help edit space_dashboard
How do I add a javascript file?+tags
 

How do I add a javascript file?+issues

help edit space_dashboard

Can I do it like I can add a CSS file, so if I just copy the contents into a specially formatted card the .js will be usable by the site?

 

help edit space_dashboard

Not *yet*.

 

By Decko 1.0 we will add javascript mods api, and that will very much mirror the new stylesheet infrastructure.

 

At present, I think the only way to do this is to upload a js file as a File card and add an explicit javascript link to your head tag in your layout.

--Ethan McCutchen.....2013-11-08 18:05:03 +0000

Okay. If uploading it as a file will get it on the server, then I should be able to play around and see if I can get anything to work.

--Lora Friedenthal.....2013-11-08 19:45:16 +0000