Hi Andreas, But, "window.onload = init;" is a little late? Are you sure it is even fired?
Cheers, Chris From: [email protected] [mailto:[email protected]] On Behalf Of Andreas Sent: Donnerstag, 25. November 2010 09:46 To: [email protected] Subject: [svg-developers] hasFeature doesn't work with Filter This should work, but it doesn't. <script type="text/ecmascript"> <![CDATA[ function noFilter() { document.getElementById("highlight").setAttributeNS(null,"opacity",0) } function init() { if (!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Fil ter", "1.1")) noFilter(); } window.onload = init; // ]]> </script> What's wrong? ------------------------------------ ----- 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: [email protected] [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/

