Hi, ... As Ronan says, when running in Mozilla, ASV doesn t have support to allow script in the HTML to talk to the SVG it s rendering. In other words that
Message 1 of 5
, Jan 7, 2006
On 1/7/06, jaychambers <jaychambers@...> wrote:
> Hi Jonathan,
> This didnt work either, at least, not entirely. the JScript
> console is cool. Learn something new every day!!! Does IE have
> similar tool? didnt see one. Anyway, I've been looking around, and
> this appears to be a pretty common issue with FF. The FF JScript
> console says "svgDocument has no properties." From what I've read,
> this is common in FF when using getSVGDocument. Whats more wierd,
> is I disabled the FF SVG and loaded Adobe, and thats where I saw the
As Ronan says, when running in Mozilla, ASV doesn't have support to allow
script in the HTML to talk to the SVG it's rendering. In other words that
error is always going to occur if you're using ASV in Firefox.
For grins, this morning, I changed back to native SVG in
> FF, and all the sudden, it works using
> function onload=draw(), SVG native support, well-formed XML SVG
> file, and this line
> svgDocument = document.embeds["SVGNAME"].getSVGDocument();
Yes, everything should work fine using Mozilla Firefox's native SVG support.
dosent work with Adobe loadedup. I'm doing some further testing,
> because FF is producing some very wierd "works when the sun is @ 45
> degress of the ....." kind of issues. Its somewhat irritating that
> the browser I have some to love and defend, has such flaky issues it
> turns out.
I played around with your files, modified in a variety of ways. It
consistantly works for me. If you can keep copies of the files exactly as
they are when they don't work for you I'll look into this.
Yes, well as you can see the SVG document hasn't loaded. Instead there's a
grey background with the text: "This XML file does not appear to have any
style information associated with it." If you google on that plus "SVG"
you'll find the reason why. In short if the author had added the attribute: