Rather than changing the style of each individual circle, one could change them
using a style element, like so:
?xml version=1.0 encoding=UTF-8?
!DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.1//EN
http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-flat-20030114.dtd;
svg xmlns=http://www.w3.org/2000/svg;
--- In svg-developers@yahoogroups.com, Richard Pearman rpearman@... wrote:
Does anybody know anything about this software
http://motionartist.smithmicro.com/? Does it use SVG? It mentions HTML5 but
not SVG. It seems to expet imported images (bitmaps only?) but again, the
little I've seen
--- In svg-developers@yahoogroups.com, PETER nospam@... wrote:
I want them to change colour 'onmouseover'.
This is a classic case for CSS.
style type=text/css
path:hover {
stroke:yellow;
}
/style
will do the job. It looks like this:
http://jsfiddle.net/bvEDw/show/
--- In svg-developers@yahoogroups.com, Mark Crutch wrote:
--- In svg-developers@yahoogroups.com, Pranav Lal wrote:
add title elements to SVG elements like lines and
paths. How can this be done in inkscape?
Another approach is to select the object then press CTRL-SHIFT-O to bring
up
What do you need a rastered version of the glyphs for? Where is SVG involved?
Thomas W.
--- In svg-developers@yahoogroups.com, Srinivas sinu.nayak2001@... wrote:
Dear All,
To my knowledge, a scalable font specifies the path to be traversed, to draw
a font. Assume that I have the path
--- In svg-developers@yahoogroups.com, lexzzzo lovermars@... wrote:
I have put a small example online here:
http://mgcv.cmbi.ru.nl/example.svg http://mgcv.cmbi.ru.nl/example.svg
(So the first works in Chrome, IE9 and Batik Rasterizer but not in FF14.
Both look identical for me in Firefox 17.
--- In svg-developers@yahoogroups.com, wenxin1308 wenxin1308@... wrote:
The animateTransform tag won't work (cannot start the animation) if the
SVG isn't appended to the document with the window onload event.
Example: http://jsfiddle.net/r4WEh/ http://jsfiddle.net/r4WEh/ vs
Can you give more context, especially how the referenced element looks like?
--- In svg-developers@yahoogroups.com, jamesd jcdeering1@... wrote:
I am currently using the below to highlight a button using the use element.
It works in Firefox, but not in Chrome or IE.
Could someone show me
--- In svg-developers@yahoogroups.com, jamesd jcdeering1@... wrote:
Anyone downloaded and using Chrome for iOS? I don't have an iPad and am
wondering if the iOS version supports filters.
I don't have an iOS device, but as Apple doesn't allow any true browser to be
distributed through their
--- In svg-developers@yahoogroups.com, peteypak peter.pakulski@... wrote:
Apparrently they do Thomas!
In the case of Opera Mini you might argue they do because Opera Mini is kind of
a remote browser that runs on a server. In the case of Chrome, they
apparently don't:
Love those cars! Couldn't resist and had some more fun with cars:
http://wwwpub.zih.tu-dresden.de/~s9783698/svg/overtakingCars.svg
There's also some funky Opera behavior, and Chrome doesn't seem to respect
animateTransform.
Thomas W.
--- In svg-developers@yahoogroups.com, David Dailey
What about this boring solution:
http://wwwpub.zih.tu-dresden.de/~s9783698/svg/modifiedDaileyRace.svg
Boring as it doesn't use any of this exciting stuff like masking, clipping or
filtering. In all browsers you can see at least some of the joints between
road and bridge overlay. But it has
--- In svg-developers@yahoogroups.com, Jonathan Chetwynd j.chetwynd@... wrote:
however is there a standards reason that:
doc.getElementById(myCanvas).setElementByIdNS(null, visibility,
hidden)
does not hide the canvas?
Do you mean something like
--- In svg-developers@yahoogroups.com, wendellxe wendellxe@... wrote:
I'm evaluating graphics formats for a project to programmatically generate
illustrations for inclusion in print documents.
What kind of print documents are we talking about, or more precisely, what
would be the workflow
--- In svg-developers@yahoogroups.com, Cameron McCormack cam@... wrote:
David Dailey:
Oh good! The center of mass (centroid or first central moment) is also a
graphically relevant construct, so we should think about that too! Itâs
easily scriptable for integrable curves (well, heck, I
--- In svg-developers@yahoogroups.com, th_w@... th_w@... wrote:
--- In svg-developers@yahoogroups.com, Cameron McCormack cam@ wrote:
David Dailey:
Oh good! The center of mass (centroid or first central moment) is also a
graphically relevant construct, so we should think about that too!
--- In svg-developers@yahoogroups.com, jamesd jcdeering1@... wrote:
David wrote Of course that leaves out the one browser that doesn't do SMIL.
Wrong. Google Chrome (Webkit) doesn't support SMIL either.
I just posted an example of this when I saw this post (I know, lousy
houseguest) but,
--- In svg-developers@yahoogroups.com, Jeff Schiller codedread@... wrote:
No, the issue is that you can't select a previously selected color.
O.K., I now see that this is buggy. You actually *can* select a previously
selected color, but you have to click twice
On Fri, Jan 6, 2012 at
Hi Andreas,
--- In svg-developers@yahoogroups.com, andreas.scheucher
andreas.scheucher@... wrote:
For example, there is a polyline, with the id=1. To redraw, the Node is
fetched from the DOM and the points attributes are set to the new values.
I solve this using the Batik SVG Toolkit and
--- In svg-developers@yahoogroups.com, th_w@... th_w@... wrote:
Hi Andreas,
--- In svg-developers@yahoogroups.com, andreas.scheucher
andreas.scheucher@ wrote:
For example, there is a polyline, with the id=1. To redraw, the Node is
fetched from the DOM and the points attributes are
Love it! I think those are candidates for svg-wow.org. Such awesome results
with so few lines of code. I wondered why I couldn't find a single SVG
submission in the Mozillalabs demoparty gallery[1]. This would have won the
Animated GIF+SVG category hands down, don't you think? In contrast
--- In svg-developers@yahoogroups.com, Marty Sullivan dark3251@... wrote:
If getElementFromPoint is not part of the spec, I would just create a
rect/BBox of the point and then document.getIntersectionList(pointBox,
null).
Thanks for that hint! I wasn't aware of that method.
I think that the SVG API is lacking something like PostScript's insideness
testing operators[1] (7.4 MiB PDF) that tell you whether a point lies inside a
path or whether two paths intersect. (In SVG, this shouldn't be restricted to
paths, of course.)
Thomas W.
[1]
--- In svg-developers@yahoogroups.com, dark3251 dark3251@... wrote:
Even if you are just creating still graphics, like a scalable logo for
example, any text within the logo can be indexed.
That's of course true. But does it really make a difference in pratice?
(SEO is not a
Thanks Max and dark3251.
--- In svg-developers@yahoogroups.com, Max Dunn maxdunn@... wrote:
1. Canvas is pixel-based, you have to draw and redraw literal pixels: the
vector objects available with SVG are quite often very convenient.
Just a few days ago some people told me that there were
--- In svg-developers@yahoogroups.com, luftikus_143 st.schwarzer@... wrote:
Hi there,
I have many lines (around 200) showing the evolution of some variables
over 20 years. Now, I when I hover the mouse over names of the
countries, the line for that country will show, and disappear as soon as
--- In svg-developers@yahoogroups.com, Max Dunn maxdunn@... wrote:
3. They first try with Canvas, and hit limitations... SVG is discovered
when they look at how others have managed to attain certain things
Out of curiosity: What limitations do they typically hit that makes them move
to
--- In svg-developers@yahoogroups.com, John Delacour JD@... wrote:
At 14:31 + 28/9/11, Donna wrote:
I have the following SVG image -
http://dl.dropbox.com/u/11087865/Cleveland.svg
This looks fine in Chromium, but it does not look so fine in Chrome.
It is important that this image
--- In svg-developers@yahoogroups.com, Jacob Beard jbeard4@... wrote:
Are there hidden
complexities involved in using DOM nodes to store data that I should be
aware of?
As I learned it's not guaranteed an implementation will allow arbitrary data to
be stored in DOM nodes:
--- In svg-developers@yahoogroups.com, cremnosedum richard@... wrote:
Am I right in thinking that Scour (simplyfies SVG files generated by
Inkscape) won't work in anything other than Python 2.5?
Scour 0.25 works fine for me with Python 2.6.4.
-
--- In svg-developers@yahoogroups.com, baruchbashan baruchbashan@... wrote:
I thought that I would use a rectangle sized like a point.
What do you mean by point?
I am new to this and know I've missed something, because Chrome doesn't show
it, and in IE8, the whole outer line moves around,
I tried something similar some time ago, and it's a pain. I'm not sure whether
you can at all detect all possible keystrokes correctly, not to speak of
accented characters and such. I'd probably go with an HTML input field
inside a foreignObject right now, since the editable text currently is
--- In svg-developers@yahoogroups.com, Raks A raks...@... wrote:
While searching I saw an api called getBBox(). But when I search in mozilla
documentation I do not find any such DOM API, but certain search result
mentions such an API.
The getBBox is part of the JavaScript SVG API specs[1].
--- In svg-developers@yahoogroups.com, Raks A raks...@... wrote:
But what are the browsers which support all the SVG DOM Apis.
I think at leats getBBox() is supported by all of them (as mentioned,
getScreenBBox() unfortunately isn't).
We are
creating a drawing tool where we want to allow
--- In svg-developers@yahoogroups.com, Raks A raks...@... wrote:
Actually I am aware of the transform attribute but as the requirement is
for a drawing tool the user/artist/designer would keep iterating on an
element ( may be 1000 times ) by repeatedly scaling an element till he is
satisfied
I realized that this doesn't really solve the problem of potential duplicate
IDs. If your XSLT processor creates IDs that will never ever have trailing
underscores (that's pretty likely, I think), then you're on the safe side with
either the first or the second version of the stylesheet.
---
Does this do the job for you?
?xml version=1.0 ?
stylesheet version=1.0 xmlns=http://www.w3.org/1999/XSL/Transform;
key name=id match=*...@id] use=@id/
template name=generateUniqueId
param name=id select=generate-id()/
choose
!-- Test whether $id is already taken by another
Problem: It's pretty unlikely, but the stylesheet I sent could possibly
generate non-unique IDs because it doesn't check whether generate-id() returns
an ID that has already been created by appending underscores to an ID that
generate-id() returned for another node. This version should fix it
Hi all,
I have some Christmas gifts for you! That is, if you use Firefox:
http://wwwpub.zih.tu-dresden.de/~s9783698/svg/css-presents.svg
As code:
?xml version=1.0 encoding=UTF-8 standalone=no?
svg
xmlns=http://www.w3.org/2000/svg;
version=1.1
xmlns:xlink=http://www.w3.org/1999/xlink;
Here's what the specs say:
http://www.w3.org/TR/SVG/masking.html#AutoClipAtViewportNotViewBox
but what does it mean? At least this works in Opera:
?xml version=1.0 encoding=UTF-8 ?
svg xmlns=http://www.w3.org/2000/svg;
xmlns:xlink=http://www.w3.org/1999/xlink;
version=1.1
--- 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.
--- In svg-developers@yahoogroups.com, ddailey ddai...@... wrote:
Following a recent visit to openclipart.org** I was rather prepared for what
Jeff Schiller calls cruft when I saw the earlier image at
http://commons.wikimedia.org/wiki/File:Publicdomain.svg
as described there.
You ain't
--- In svg-developers@yahoogroups.com, Erik Dahlstrom e...@... wrote:
On Sat, 06 Nov 2010 02:19:49 +0100, jamesd jcdeeri...@... wrote:
In order to serve compressed svg file you must specify
Content-Encoding: gzip
And where do I specify the Content-Encoding: gzip? If it is on the
--- In svg-developers@yahoogroups.com, Narendra Sisodiya naren...@... wrote:
On Fri, Oct 29, 2010 at 6:20 PM, patrickdengler patrickdeng...@...wrote:
http://player.microsoftpdc.com/Session/6b113af7-ba3e-44ae-bf8c-1f394029cc18
I tried opening this link and unable to open the link. the
--- In svg-developers@yahoogroups.com, t...@... t...@... wrote:
--- In svg-developers@yahoogroups.com, Erik Dahlstrom ed@ wrote:
[...] Have you found any other edge-cases
like this one while writing your path parser?
No, that's the only thing I noticed. If I discover more, I'll
--- In svg-developers@yahoogroups.com, Erik Dahlstrom e...@... wrote:
On Sat, 02 Oct 2010 23:26:54 +0200, t...@... t...@... wrote:
[...]
things like
path d=m0..0.1 2
Right, parsing that should give you the coordinates:
0., .0, .1 and 2.
That's clear, that's the only possible
--- In svg-developers@yahoogroups.com, Bjoern Hoehrmann derhoe...@... wrote:
* t...@... wrote:
That's clear, that's the only possible interpretation. I only wanted to
know whether this is covered by the EBNF description found in the specs.
It is.
Thanks!
Grüße
Thomas W.
I successfully tested my freshly written path data parser against the paths
found in the paths-data-##-t.svg files of the 1.2 Tiny test suite. But I
wonder whether I also have to take into account obscure things like
path d=m0..0.1 2
I tested it with Firefox, Opera, Chrome, Batik/Squiggle,
--- In svg-developers@yahoogroups.com, Jacob Beard jbea...@... wrote:
On Tue, Sep 21, 2010 at 3:55 PM, t...@... t...@... wrote:
What about this variant:
http://wwwpub.zih.tu-dresden.de/~s9783698/scrolling-radial-colors.xml
[...]
Interestingly, it seems to look best on Firefox, as
--- In svg-developers@yahoogroups.com, Jacob Beard jbea...@... wrote:
Visually, this is not too bad. One thing I would like to improve,
though, is to find a way that is less visually jarring to add a
gradient stop to the center.
What about this variant:
--- In svg-developers@yahoogroups.com, Chethan K.R chethan...@... wrote:
I wanted to animate alphabets every 2 secs.What i could learn from browsing
internet on svg is to have seperate text element for each alphabet. I don't
want to use any script.
I am looking for something like array of
Hi all,
I'm experimenting with the Mars plugin for Adobe Reader and have some
problems with the stroke-dasharray attribute. I have the following page:
?xml version=1.0 encoding=UTF-8?
svg xmlns=http://www.w3.org/2000/svg;
xmlns:xlink=http://www.w3.org/1999/xlink;
g stroke-width=4
klaus.foers...@... wrote:
according to the specification [1] dasharray contains a list of
comma-separated (with optional white space), so ommiting the commas
actually is an error and neither Opera, Squiggle, Inkscape should
render
it ;-)
Ah, I see! Thanks a lot. Interestingly, also Mars
53 matches
Mail list logo