Subj : Re: Spidermonkey and DOM ? To : netscape.public.mozilla.jseng From : =?ISO-8859-1?Q?Georg_Maa=DF?= Date : Sat Oct 09 2004 03:57 pm Ahmed Abu Yaman wrote: > I used the javascript engine(Spidermonkey) as stand alone engine, but > this doesn't recognize some javascript objects such as document and > window (DOM APIs) You must embed it into an application (e.g. written in C or C++) that provides those objects and gives them a meaning. Mozilla is such an application, but there are hundreds of other applications that have SM inside or are just linked to the SM shared library sending tasks to SM to some calculations etc. for them. The shell does not provide them, because there is no useful meaning for them in the shell. -- Georg Maaß - bioshop.de D-76227 Karlsruhe, Westmarkstraße 82 HTML, XML / JavaScript, C++, Java, PHP, VB / CGI, JSP, ASP, ASP.net - The ultimate DHTML engine: http://gml-modul.sourceforge.net - http://sourceforge.net/projects/gml-modul .