I found a workaround for the problem. I just copied the geometry attributes of the active rectangle to a new rectangle on top of the SVG group and applied there the new stroke style. On mouseout the geometry of the new rectangle is deleted.
But this is just a workaround, the problem still remains. Opera and the Adobe Plugins (3 and 6prealpha) both lose the focus on an active element if it is moved in the DOM. I think this is a bug. Regards Olaf Olaf Schnabel wrote: > > > Hi developers > > I need a workaround for an appendChild problem in Opera 9.5 and IE7 > (ASV6 installed), in Firefox 3 it works fine. In my small example > http://www.ika.ethz.ch/schnabel/append.svg > <http://www.ika.ethz.ch/schnabel/append.svg> I have several rectangles. In > a first step, the stroke of the active rectangle is set to "red" on > mouseover. Then, the active rectangle is set on top of all other > rectangles via appendChild. This works in all browsers but Opera 9.5 and > ASV6 seem to lose the focus on the active rectangle. Therefore, the > onmouseout event (set stroke to "none") doesn't work anymore (except > Firefox 3, which seems to interpret the code correct for me). > Has anyone a workaround for this problem? > > Thanks for your answers > Olaf -- Dr. Olaf Schnabel Institute of Cartography ETH Zurich 8093 Zurich Switzerland tel: ++41 44 633 3031 fax: ++41 44 633 1153 e-mail: [EMAIL PROTECTED] www private: http://www.ika.ethz.ch/schnabel www project: http://www.e-cartouche.ch www institute: http://www.karto.ethz.ch ------------------------------------ ----- 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/

