Please disregard my previous post. (or posts, I don't know why it was
posted 3 times -- I posted it using Yahoo's web form). I found the
problem which was related to how I got the svgDocument in IE which
doesn't invoke the onload event of the inline SVG.
For IE, I now do:
svgDocument = document.getElementById("SVG").getSVGDocument();
where "SVG" is the id of the SVG root element and it works fine.
However, I am still having a problem in IE. It is the same problem
that someone named Bryan posted to an xml-dev mailing list back in
2002. Bryan wrote:
* From: "bryan" <[EMAIL PROTECTED]>
* Date: Tue, 29 Oct 2002 17:31:31 +0100
I was just wondering if any one could tell me why, when using Internet
Explorer behaviors to place an svg document inline within an dynamically
generated html document, and then attempting to reference a
linearGradient with an id firegrad1 for a fill the element being filled
by said gradient disappears whereas when I present the same svg as a
self-contained svg document the element being filled by the gradient is
present. I'm supposing that what happens when I write
Fill="url(#firegrad1)" is that the adobe plugin must be having a problem
finding firegrad1 when inline, the question being if I can do something
else to let it know it's being used inline?
Bryan received one response which didn't provide a clear solution, the
response was:
I am by no means well acquainted with IE binary behaviours, but it's
not the first time I hear of that kind of problem. I think that what
it boils down ot is the fact that IE is not an XML app by any measure,
so that when the Adobe plugin tries to find firegrad1 using an XML DOM
it somehow fails. There are probably workarounds for this problem on
Adobe's side (though they may be clunky), I'm not sure if there are
any pleaseant ones on your side. You may consider using entities, or
some Javascript to inline the gradient.
-- Robin Berjon <[EMAIL PROTECTED]>
Can anyone on this list tell me how to do inline gradients or use
entities to perform the same function?
Thanks in advance!
Steven Pothoven
http://blog.pothoven.net
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/