js file path

blindmime
@blindmime
11 years ago
772 posts
I'm converting a template to jr5. I've put all the css and js files in the respective directories and configured the include.php file. In one of the js files I have a path reference like 'css/vendor/layerslider/skins/'.

What would be the correct path in jr5?
douglas
@douglas
11 years ago
2,790 posts
You'll want those directories/files in your js directory where the js file is that is referencing them...

skins/YOURSKIN/js/css/vendor/layerslider/skins/

Hope this helps,
Douglas


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
brian
@brian
11 years ago
10,148 posts
Yeah you can always reference the JS with a full URL and Jamroom won't mess with it - it will just add it to the header as you have defined it.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
adanhash
@famegroup
11 years ago
15 posts
How can we add it to the footer?
in the include i have
jrCore_register_module_feature('jrCore', 'javascript', 'jrCore', 'jquery-1.8.3.min.js');
which registers it to the header. now i do i make it in the footer?

Tags