- Menu scripts
- Window scripts
- Calendar scripts
- Gallery scripts
- Form widgets
- XP widgets
- Table widgets
- Drag and drop
- Folder trees
- Tooltips
- AJAX scripts
- Misc scripts

- Javascript games
- Chess widgets
- DHTML Suite
- Top sponsors
- abo-storch.de
- anbieter-vergleichen
- Sigmalist.com
- More
- Resources
- cbolson.com
- Vision.To Design
- Other resources
Download Ajax dynamic content script
Download files
You can download the script from this Zip file.
Files in package:
- ajax-dynamic-content.html = Demo HTML file which illustrates how to use this script.
- js/ajax.js = Ajax (SACK library)
- js/ajax-dynamic-content.js = Main JS file for this script
- images/* = Images used in this demo
- external/* = Dynamic loaded files for this demo
How to use this script
This scripts loads content of external files into a HTML element on your page. This is simply done by calling the Javascript function ajax_loadContent. Example:
ajax_loadContent('news1','external/externalfile1.html');
This will load the content of the file external/externalfile1.html into the HTML element on your page with id "news1", example: <DIV id="news1"></DIV>
Note! Ajax scripts must be executed over http and not the file system. I.e. from address starting with http://... and not C:\...
Update log
- December, 3rd, 2006 - Javascript parser has been improved because of problems executing code in global context



