On Fri, 12 Sep 2008 11:31:19 +0200, David <[EMAIL PROTECTED]> wrote: > Hi Ian, > > See the DOMImplementation.hasFeature method : > http://www.w3.org/TR/SVG/feature.html
If you prefer a non-scripted variant I recommend using the conditional attributes[1] with the svg featurestrings[2][3] in conjunction with the <switch> element. Here's an example[4] of that. Cheers /Erik [1] http://www.w3.org/TR/SVG11/struct.html#ConditionalProcessing [2] http://www.w3.org/TR/SVG11/feature.html [3] http://dev.w3.org/SVG/profiles/1.2T/publish/feature.html [4] http://files.myopera.com/MacDev_ed/blog/vistamenu.svg (or see http://my.opera.com/MacDev_ed/blog/2008/02/05/how-to-do-photoshop-like-effects-in-svg) -- Erik Dahlstrom, Core Technology Developer, Opera Software Co-Chair, W3C SVG Working Group Personal blog: http://my.opera.com/macdev_ed ------------------------------------ ----- 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/

