Inhalt

Der Intensiv-Einstieg in Ajax mit unseren Inhouse-Workshops.

© 2006 - 2010 Linkwerk GmbH & dpunkt.verlag GmbH
dabcube design
Open Source

Lokris

An Ajax library for Javascript

This is the home of the Lokris library.

Features

Quick start

<script src="lokris.js" type="application/javascript"></script>
...
function yourXmlCallback(xmlDocument) {
  ...
}
function yourTextCallback(string) {
  ...
}

// ==================================
// 1) Asynchronous calls

// When calling XML services:
Lokris.AjaxCall(uri, yourXmlCallback [, options]);

// When calling Text services:
Lokris.AjaxCall(uri, yourTextCallback [, options]);

// ==================================
// 2) Synchronous calls
//    (suggested, see manual for details)

var request = Lokris.AjaxCall(uri, null, {async: false [, more_options]});

// After calling XML service:
yourXmlCallback(request.responseXML);

// After calling Text service:
yourTextCallback(request.responseText);



Download

lokris.js

The Javascript library

lokris-licence.txt

BSD style licence for using and distributing Lokris

lokris.js.minimized
The above .js file, minimized with JSmin

Manual

The usage of Lokris is described in the manual.

About the name

The library is named after Ajax the Lesser, son of the King of Locris. The spelling (with k) follows the transcription of the ancient greek name of the region of Locris.

© 2006, Linkwerk GmbH
Last modified $Date: 2006/10/22 17:30:05 $