Using Javascript - A question - I can't get my code to work
Hi,
I have a site which uses js files such as:
main.js
util.js
These files are loaded html like:
<script src="assets/js/main.js"></script>
However my script is not working. It is supposed to be a slow scroll when a link is clicked, it is a very modern html 5 "one page" site.
since the "embed" option allows to load code, i thought of hosting the "main.js" file somewhere else and putting the url in a <script url="> in the embed. I dont know how to do that though.
Can you help me out here? thanks very much