From: Antoine Q. <an...@gr...> - 2001-09-28 14:15:16
|
Hey, Looking back, I was wondering if the XML grammar used for iDrag was appropriate... Consider this piece of code: <i:drag bringToFront="yes"> <i:style ondrag="opacity:0.5" /> <i:style xlink:href="#iDragText" ondrag="fill: #ff00ff; opacity: 1;" /> <i:text xlink:href="#welcomeText" ondrag="SeVeraGe's my pal !!!" /> </i:drag> I was wondering if it wouldn't be better done using this syntax: <i:drag bringToFront="yes"> <i:set actuate="ondrag" style="opacity:0.5" /> <i:set xlink:href="#iDragText" actuate="ondrag" style="fill: #ff00ff; opacity: 1;" text="SeVeraGe's my pal !!!" /> </i:drag> This way it's more of a target-oriented syntax (one "set" element per object for both types of changes - text and style) rather than action-oriented (text or style). Please advise as this would mean some rather dramatic changes in the syntax and in the implementation. And I want the release to be real soon. Antoine |