Re: Comunication xul with file svg
Martin Honnen <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | Liberty Development |
| Message-ID | <dktgmp$11s1__7099.00049628249$1131562910$gmane$org@ripley.aoltw.net> |
xiongh wrote: > <window > xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" > xmlns:html="http://www.w3.org/1999/xhtml" > xmlns:svg="http://www.w3.org/2000/svg"> > > > <html:html> > <html:body> > <html:body><html:embed src="m.svg" width="900" height="900" > type="image/xml+svg"/> > Now,Can I comunicate file xul with file.svg?How can I? Are you using the Adobe SVG viewer plugin for rendering the SVG? Or are you using Firefox 1.5 (beta/release candidate) with its native SVG support? The Adobe SVG viewer (version 3) plugin is not scriptable with current Mozilla versions, indeed Adobe does not even support it for Mozilla officially. The only thing possibe with the viewer might be using the function browserEval from script inside of the SVG document but I have no idea whether that has any meaningful effect when the SVG sits inside of an XHTML embed in a XUL document. Note that there is an SVG group netscape.public.mozilla.svg so please keep SVG questions there. But it is mainly for the native SVG support in Mozilla. -- Martin Honnen http://JavaScript.FAQTs.com/