[svg-developers] hasFeature doesn't work with Filter

2010-11-25 Thread Andreas
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#Filter;, 1.1)) noFilter(); }

RE: [svg-developers] Drag more then ONE objects together or groups

2010-11-25 Thread Chris Peto
Hi, I have made up a simple example of what I mean. ?xml version=1.0 standalone=no? svg width=100% height=100% version=1.1 xml:space=preserve xmlns=http://www.w3.org/2000/svg; xmlns:ev=http://www.w3.org/2001/xml-events; xmlns:xlink=http://www.w3.org/1999/xlink;

RE: [svg-developers] Drag more then ONE objects together or groups

2010-11-25 Thread Chris Peto
Hi, sending again with better formatting. I have made up a simple example of what I mean: ?xml version=1.0 standalone=no? svg width=100% height=100% version=1.1 xml:space=preserve xmlns=http://www.w3.org/2000/svg; xmlns:ev=http://www.w3.org/2001/xml-events;

RE: [svg-developers] hasFeature doesn't work with Filter

2010-11-25 Thread Chris Peto
Hi Andreas, But, window.onload = init; is a little late? Are you sure it is even fired? Cheers, Chris From: svg-developers@yahoogroups.com [mailto:svg-develop...@yahoogroups.com] On Behalf Of Andreas Sent: Donnerstag, 25. November 2010 09:46 To: svg-developers@yahoogroups.com Subject:

RE: [svg-developers] hasFeature doesn't work with Filter

2010-11-25 Thread Chris Peto
Hi, document.implementation.hasFeature(http://www.w3.org/TR/SVG11/feature#Filte r, 1.1) Comes back true in Opera, all others false. Cheers, Chris From: svg-developers@yahoogroups.com [mailto:svg-develop...@yahoogroups.com] On Behalf Of Andreas Sent: Donnerstag, 25. November 2010

RE: [svg-developers] Drag more then ONE objects together or groups

2010-11-25 Thread Chris Peto
Hi, Ok, last example, this one allows you to move a single object by mouse down and move or lasso objects, plus the selection rect resizes down to the selected objects. I have already sent this file to you, since Yahoo screws up the formatting, but I make it available to everyone here. ?xml

[svg-developers] Re: hasFeature doesn't work with Filter

2010-11-25 Thread Andreas
You 're right. In Opera it works ok. In the modern browser and the upcoming Firefox the noFilter() running but not(!) in old Konqueror. Here is a little example: http://labs.pixelfans.de/Twitterbird2_withJS.svg --- In svg-developers@yahoogroups.com, Chris Peto svg...@... wrote: Hi,

Re: [svg-developers] hasFeature doesn't work with Filter

2010-11-25 Thread Erik Dahlstrom
On Thu, 25 Nov 2010 12:26:49 +0100, Chris Peto svg...@resource-solutions.de wrote: Hi, document.implementation.hasFeature(http://www.w3.org/TR/SVG11/feature#Filte r, 1.1) Comes back true in Opera, all others false. I think in most cases you're better off testing the exposed DOM

Re: [svg-developers] Drag more then ONE objects together or groups

2010-11-25 Thread Jacob Beard
Might be better to use something like pastebin to share code samples: http://pastebin.com/ http://pastebin.com/Jake On Thu, Nov 25, 2010 at 1:28 PM, Chris Peto svg...@resource-solutions.dewrote: Hi, Ok, last example, this one allows you to move a single object by mouse down and move or

RE: [svg-developers] Drag more then ONE objects together or groups

2010-11-25 Thread Chris Peto
Hi, Actually, I put it on my site at: http://www.resource-solutions.de/svg/select/groupping.svg Cheers, Chris -Original Message- From: svg-developers@yahoogroups.com [mailto:svg-develop...@yahoogroups.com] On Behalf Of Jacob Beard Sent: Donnerstag, 25. November 2010 16:46 To:

[svg-developers] Drag more then ONE objects together or groups

2010-11-25 Thread t...@ymail.com
--- In svg-developers@yahoogroups.com, Jacob Beard jbea...@... wrote: Might be better to use something like pastebin to share code samples: I think it's still good to copy the code into the post because it will be available in the mail archives. Merely linked code could become inaccessible.

[svg-developers] Re: hasFeature doesn't work with Filter

2010-11-25 Thread Andreas
That works, but what is /SVGFE/.test ? I changed my example: http://labs.pixelfans.de/Twitterbird2_withJS.svg --- In svg-developers@yahoogroups.com, Erik Dahlstrom e...@... wrote: On Thu, 25 Nov 2010 12:26:49 +0100, Chris Peto svg...@... wrote: Hi,

RE: [svg-developers] Re: hasFeature doesn't work with Filter

2010-11-25 Thread Chris Peto
Not in IE8 with Adobe, I get an error. From: svg-developers@yahoogroups.com [mailto:svg-develop...@yahoogroups.com] On Behalf Of Andreas Sent: Donnerstag, 25. November 2010 19:06 To: svg-developers@yahoogroups.com Subject: [svg-developers] Re: hasFeature doesn't work with Filter That