[svg-developers] Re: Modifying inline SVG (problem in IE)

2007-03-29 Thread pothoven
s. Mouse events are still not being triggered in IE (though they work in Firefox and Opera), so maybe by simply mentioning that here, they'll start working for me. Regards, Steven Pothoven http://blog.pothoven.net - To unsubscribe send a message to: [EMAIL PROTECTED]

[svg-developers] Re: Modifying inline SVG (problem in IE)

2007-03-29 Thread pothoven
r 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

[svg-developers] Modifying inline SVG (problem in IE)

2007-03-28 Thread pothoven
I'm trying to modify some inline SVG with JavaScript. It works great in Firefox, but fails in IE. Here is a sample JavaScript function: function addCircle(x,y,radius,color,id) { if (typeof svg.svgDocument.createElementNS != "undefined") { var circleElem = svg.svgDocument.

[svg-developers] Re: Help with dynamic inline SVG

2006-06-30 Thread pothoven
Just wanted to follow up and say that your method of coloring and mouseover events made the coloring work for the inline version in IE and made the mouse over events work correctly in Firefox. So the only thing not working is the mouse over events when the SVG is inline in IE which works when the

[svg-developers] Re: Help with dynamic inline SVG

2006-06-30 Thread pothoven
--- In svg-developers@yahoogroups.com, "Martin Honnen" <[EMAIL PROTECTED]> wrote: > > Well you could always load some empty dummy SVG document (e.g. > http://www.w3.org/2000/svg";> > ) in the embed element and then later add elements to that document, > even if those elements are dynamically cre

[svg-developers] Re: Help with dynamic inline SVG

2006-06-29 Thread pothoven
Thanks for the tip on the DOM event handlers for Firefox! Unfortunately, the embed option for IE really isn't an option since I have no file to point the src to as the SVG was generated dynamically. Since the embed tag isn't part of the w3c spec and doesn't support inline data ('data:image/svg+xm

[svg-developers] Help with dynamic inline SVG

2006-06-29 Thread pothoven
I am trying to embed an SVG graph that is generated dynmically on the client side. This is for an Ajax application which receives XML data for the graph. An XSLT is applied to the XML to generate the SVG. I figured out a method to dynamically add the SVG inline (detail provided here: http://pot