<!-- Paste this code into the <HEAD>* section of your HTML document.
You may need to change the path of the file. -->
* This may say <BODY> instead of <HEAD>. but either way, you should just paste it where it is designated to be located.
That just about covers the "howto" on making and calling an external .js script. The only other thing we shall cover is if you want to generate any HTML into an external .js script, grab the below link.
We have a "Converter/Generator" that takes all the work out of hand-coding an external .js script.
[ Converter/Generator For External .js Scripts ]
For your Information:
~ In reference to making and uploading an external .js file to call from your website. Some people are not that comfortable with doing this and prefer the more traditional way of just adding (copy/cut and paste) the script (that would be the designated external .js file) into the web document itself. The problem is that the script that is earmarked to be an external .js script is not complete on its face to add diectly into the document and must be finished. If you would grab the below link, we will show you howto use the traditional copy/cut and paste method and not make use of the external .js file.
[ Traditional Copy/Cut And Paste ~ No .js Script ]
We hope our tutorial was easy to follow and we covered everything in detail. If you have any problems with this or anything else, feel free to consult our [ FAQ ] and if you can't find the answer there, [ contact us ].
[ Rate This Page ]