File Include | JavaScriptSource

File Include

Krijn Hoetmer Nov 27, 2006


Use this script to target which files you will include on a designated Web page. Easy to set-up and use.


Source Code

Paste this source code into the designated areas.

External file

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


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

Leave a Response


this save me lot of loadtime for my forum

chaoskaizer Nov 30, 2006

At first I had no clue what use this could have, but then I realized that if your site is dynamic (with javascript) you could have it load a special javascript based on the page that you are visiting.[p]So file-include.html could load file-include.js, and so forth. Very nice piece of code.

ChannelZ Nov 30, 2006

i need a java script for my technology project how can i get this

alan kinsella Nov 28, 2006