# 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 three core components :

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

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

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

and three widgets:

- choiceList : dropdown list of choices with navigation

- autoCompleter : autocompletion on form input fields

- treeNavigator : navigation in a tree structure, opening and closing nodes

## 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>`

Jean-Christophe Durand, `<jean-christophe.d.....@etat.ge.ch>`

## 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).