tag:blogger.com,1999:blog-21222625.post115220257885769508..comments2023-10-26T08:02:30.987-04:00Comments on The Pothoven Post: Follow up on inline SVGUnknownnoreply@blogger.comBlogger7125tag:blogger.com,1999:blog-21222625.post-59271009376374642102008-05-13T08:37:00.000-04:002008-05-13T08:37:00.000-04:00Thank you for the feedback!Thank you for the feedback!Steven Pothovenhttps://www.blogger.com/profile/12363162933609862672noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-88291871848350213662008-05-13T05:51:00.000-04:002008-05-13T05:51:00.000-04:00I have been having a field day getting SVG MouseEv...I have been having a field day getting SVG MouseEvents to conform to both IE and Firefox standards! Your articles have helped out a lot, so I figured I would offer some help of my own since I had a similar issue with my own introductory project to SVG (<A HREF="http://people.rit.edu/fps2061/civ" REL="nofollow">View it here</A>).<BR/><BR/>Basically, the issue was with MouseEvents in IE. Firefox worked fine, but for some reason IE did not recognize the 'onclick' attribute in any inline SVG. It would, however, recognize 'onclick' for the root <svg> tag (see: http://www.schepers.cc/inlinesvg.html). <BR/><BR/>My solution was to separate the SVG into an external document for IE (using PHP browser detection) and serve it through an HTML <embed> tag. At that point IE began recognizing my MouseEvents.<BR/><BR/>Hope this helpsAnonymoushttps://www.blogger.com/profile/07238110206973114686noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-73153609863874285582008-03-23T08:57:00.000-04:002008-03-23T08:57:00.000-04:00Thank you so much; I've finally figured out how to...Thank you so much; I've finally figured out how to get reliable functionality out of this.<BR/>1. Use js for *all* manipulations.<BR/>2. Do not use css or styling by class.Daniel Heathhttps://www.blogger.com/profile/03810817015460556785noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-16889429455100568242008-01-21T09:26:00.000-05:002008-01-21T09:26:00.000-05:00Steven I have the same problem. Even I also asked ...Steven I have the same problem. Even I also asked in "SVG Developers Yahoo! Group", and I get no answers. Finally did you fix it?Anonymoushttps://www.blogger.com/profile/08221335261409442853noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-1165326994754717612006-12-05T08:56:00.000-05:002006-12-05T08:56:00.000-05:00I confirm with you that gradients do not appear to...I confirm with you that gradients do not appear to be working in Firefox.<BR/><BR/>Similarly various other filters don't work either. For example, I've created a "3d-look" filter which includes a feGaussianBlur for a drop shadow and a feSpecularLighting for the embossing. It works in IE (Adobe SVG), Opera, and the Batik viewer, but not in Firefox.Steven Pothovenhttps://www.blogger.com/profile/12363162933609862672noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-1164734079281341492006-11-28T12:14:00.000-05:002006-11-28T12:14:00.000-05:00Apologies for not clarifying, the gradient only se...Apologies for not clarifying, the gradient only seems to be broken in Firefox 2.0. It works in Opera 9 though.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-21222625.post-1164733964246170492006-11-28T12:12:00.000-05:002006-11-28T12:12:00.000-05:00Have you tried using SVG gradients yet with this a...Have you tried using SVG gradients yet with this approach? I have and they seem to be broken with this approach. The gradient defs work when SVG content is browsed alone but for some reason this JS/DOM approach breaks gradients.<BR/><BR/>Have you had any luck with gradients?Anonymousnoreply@blogger.com