File Include
General
Use this script to target which files you will include on a designated Web page. Easy to set-up and use.
Notes
- Created by: Krijn Hoetmer
- Web Site: http://krijnhoetmer.nl/
- Posted: November 27, 2006
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: include.js
Head
Paste this code into the HEAD section of your HTML document.


Leave a Response
(3 comments)this save me lot of loadtime for my forum
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.
i need a java script for my technology project how can i get this