Ajax Extensible Page

Ajax without programming

The A.E.P. JavaScript library allows to create dynamic pages with a content expanded at user request, either locally at a click on a sign, or a work or a phrase, or globally at a clic on the "expand" button or text.
A.E.P. is an innovation of the Web 2.0 that changes the way Web sites are built and used.

Expand the content
Collapse the content


Benefits of extensible pages

- Two-levels articles. A same page may be read by experienced reader, without to be annoyed with details that are obvious for them, et it may be read also by beginners which can get more info when needed.
- Avoiding go and back. Requested data being inserted into the current page, we have just to read and scroll to continue.
- And a lot more...

Using

The "expand" and "collapse" links on a modern Web page should stay besides the "print" link that allows to display a printable version of the page.
Actually, the framework can be used also to create this printable version.
More details about using A.E.P on the manual...

The extensible logo

When you choose to use textual links, that are not as visible as buttons, it is better to inform your visitors the page is extensible with this logo:

and in all case you can also inform your visitors to what extensible page is by a link on this page:

<a href="http://ajax.xul.fr/extensible/" target="_top"> <img  src="extensible.jpg"> </a>

Manual

Making a page extensible is very simple:
1) put a replacing text into a <div> and give it an identifier or into a text file.
2) put a text to replace into a <span>, give it an identifier and assign to a "name" attribute the identifier of the replacing text, or to a "src" attribute the filename.
3) Call a JavaScript function with the onclick event.

The manual is aimed at webmasters and describes all functions of the A.E.P. library

Compatibility

The framework has been tested under:
- Internet Explorer.
- Firefox.
- Opera.
Details.

Demonstration

Download

The zip archive holds the extensible.js library, a PDF version of the manual and some demos.

Last changes.

Resources

Licence

The A.E.P. framework is distributed under the GNU GPL 2.0 licence.
The copyright notive must be kept on any project based upon the A.E.P. library or any document that exposes the source code. This notice is not required on Web pages using the framework.
You can use the "expand" and "collapse" buttons provided on this page.
You can link this page with this code:

Powered by Ajax Extensible Page.

The author, Denis Sureau is:
- The creator of the Scriptol programming language.
- Author of several Ajax-related tutorials on this site.
- Author or co-author of several projects for the Web, including the tutorial Building a CMS on Scriptol.com.
- Translator of the XMLHttpRequest specification by W3C.
© 2007-2008 Xul.fr & Denis Sureau.