# GvaScript::Intro

A javascript framework born in Geneva.

### Table of contents

NAME
SYNOPSIS
DESCRIPTION
TARGETED PLATFORMS
DEPENDENCIES
AUTHORS
LICENSE

## NAME

GvaScript::Intro - A javascript framework born in Geneva.

## SYNOPSIS

      <head>
        <script src="path/to/prototype.js"></script>
        <script src="path/to/GvaScript.js"></script>
        <link href="path/to/GvaScript.css" rel="stylesheet" type="text/css">

        var cl = GvaScript.ChoiceList(choices, options);
        var ac = GvaScript.AutoCompleter(datasource, options);
        var tn = GvaScript.TreeNavigator(element, options);
      </head>

## DESCRIPTION

GvaScript (pronounce "gee-vascript") is a javascript framework born in Geneva, Switzerland (`GVA` is the IATA code for Geneva Cointrin International Airport). It is built on top of the prototype object-oriented javascript framework (http://prototype.conio.net).

It contains four core components :

- Alien::GvaScript::ProtoExtensions : some extensions to the prototype javascript framework (mainly walking the DOM searching for collections of classnames).

- Alien::GvaScript::Event : registering and firing application-specific events (in addition to the standard W3C event model)

- Alien::GvaScript::KeyMap : managing maps of handlers for key events (similar in spirit to Emacs keymaps)

- Alien::GvaScript::Repeat : managing repeated sections

and four widgets:

- Alien::GvaScript::ChoiceList : dropdown list of choices with navigation

- Alien::GvaScript::AutoCompleter : autocompletion on form input fields

- Alien::GvaScript::TreeNavigator : navigation in a tree structure, opening and closing nodes

- Alien::GvaScript::Form : various extensions to HTML forms (working with data trees and repeated sections, automatic focus, etc.)

## TARGETED PLATFORMS

- Microsoft Internet Explorer for Windows, version 6.0 and higher

- Mozilla Firefox 2.0 and higher

- may work on other platforms supported by prototype.js, but was not tested

## DEPENDENCIES

- the http://prototype.conio.net javascript framework, version 1.5.0 or higher

## AUTHORS

Laurent Dami, `<laurent.d...@etat.ge.ch>`

Mona Remlawi, `<mona.r...@etat.ge.ch>`

Jean-Christophe Durand

Sébastien Cuendet

## LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl's artistic license (see http://perldoc.perl.org/perlartistic.html).