Re: Javascript in Amaya

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