[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Re: pas de javascrpit = mort d'atari (fwd)



On Fri, May 26, 2000 at 09:11:09PM +0300, Martin-Éric Racine wrote:
> It is.  Adding it to CAB.OVL might be a nice start (although the
> best place for the parser is obviously within CAB itself).

The CAB overlay API doesn't allow the things that the JavaScript engine
would like to do.  How should the overlay teach CAB to react to
onmouseover by calling a certain JS function?  It could poll the GEM
events but it still couldn't change the output of the renderer once the
document has been delivered.

What could be done is implementing "static" JS by pre-parsing the *ml
documents and replacing scripts with static output where this is possible.  
But this is only boring, and would probably confuse even more than "Sorry,
your browser doesn't understand JavaScript".

It's really impossible with CAB to offer an external JavaSCript solution.

Ciao

Guido
-- 
http://www.stud.uni-saarland.de/
Send your spam to president@whitehouse.gov and your replies to
mailto:guido at freemint dot de