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();
}
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;
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;
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:
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
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
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,
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
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
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:
--- 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.
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,
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
13 matches
Mail list logo