JavaScript Includes

By JavaScriptSource Staff on Jun 1, 2007


When you start using Prototype, Scriptaculous, and other JavaScript libraries, you often end up with a dozen lines of script tags pulling in all of the code from different places. That would be fine if you never added a new library or never needed to swapped them out. This script will create a single JavaScript loader for each project that contains all of the scripts necessary.


Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: multiLoader.js


Paste this code into the HEAD section of your HTML document.