This script dynamically loads remote documents for parsing and/or insertion into the current document. It uses the XMLHttpRequest browser object as well as its own custom IFRAME-based transport layer for excellent cross-browser compatibility. Files can be loaded just by clicking a link, and loads are fully multithreaded.
Script License Agreement
© 2005 Angus Turnbull, TwinHelix Designs http://www.twinhelix.com
Licensed under the CC-GNU LGPL, version 2.1 or later.
This is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you find this useful, you're more than welcome to consider making a donation to support its development :). Also, if this license isn't suitable for your project, please contact me for alternative licensing terms.
If you want, you can view an online demonstration .
To download this permanently: htmlhttprequest.zip (15kb).
Compatibility - Testers Needed!
If you have a copy of a browser not listed as 'Tested and Works', please tell me if it works or not - thanks! Take these as a guide only, and be sure to test in all target environments.
- Tested and Works: IE6/Win, IE5.5/Win, IE5/Win, IE4/Win, Mozilla/Win, Opera7/Win, Safari/Mac, IE5/Mac.
- Untested, Probably Works: IE4/Mac, Mozilla/Mac, Opera/Other, Konqueror/Linux.
- Definitely Won't Work in v3.x browsers, NS4, and Opera v6 and lower. Make sure you account for older browsers or search engines in your site design!
This is the first public release of this script.