Ajax Offline With Gears Demo

Using the XMLHttpRequest object with or without Gears. The script ajax-gears.js create a XMLHttpRequest object with Gears if it is installed or without it if it is not.

If the Gears plug-in is installed the page can be viewed offline without Internet connection, otherwise it works also, but only online.
The first time, the page should be on line for Gears starts the synchronization.



Data retrieved from the server (or locally when offline) :



Return to the tutorial: Ajax offline with Gears