This jQuery plugin provides browser based file include similar to SSI. The main use is for html prototyping where the files are going to be viewed in a file system rather than hosted.
The plugin can handle nested includes - linking paths in the include file are modified to match the host page context. For post-include processing the includeReady method is similar the jquery.ready method.
You can download the distribution zip which contains the plugin and use examples, or view the current js code in the source trunk. If you find the plugin useful please let me know at johnhunter.info.
Include initialisation:
$(document).includeReady(function () {
// initialisation code here
// e.g. modify include dom
});Include tag useage:
include has not loaded
Commercial Use
Modify
Distribute
Place Warranty
Hold Liable
Use Trademarks
Include Copyright
Include License
These details are provided for information only. No information here is legal advice and should not be used as such.