W3C home > Mailing lists > Public > www-amaya-dev@w3.org > May 2007

Re: Javascript in Amaya

From: Irene Vatton <Irene.Vatton@inrialpes.fr>
Date: Fri, 11 May 2007 15:37:36 +0100
To: fwsmail35 <fwsmail35@aol.com>
Cc: www-amaya-dev@w3.org
Message-Id: <200705111637.36883.vatton@inrialpes.fr>

On Thursday 10 May 2007 16:53, fwsmail35 wrote:

> To integrate javascript in Amaya source code, follow these instructions :

This will be done as soon as possible.

> Some questions : Can somebody tell me which functions give the location
> of a document, 

There is no function today, but if needed a function can be added.
When you have the document number, the location is stored in
DocumentURLs[doc].

> and the line of an Element (for Error report).

TtaGetElementLineNumber (element)

> I would also like to know how to get the callback in javascript.c (for the
> function prompt).

What do you plan to use: clipboard, pipe, file?

-- 
     Irène.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France
Received on Friday, 11 May 2007 14:40:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:25:51 UTC