Id like to inform you that there will be another workshop for
svg-beginners titled Internetcartography with SVG Maps scalable
unlimitedly from march 20th to march 24th 2006 at the University of
Applied Sciences in Berlin. More informations:
http://svg.carto.net/workshop
my code works with IE not with FireFox:
myGridGroup = svgdoc.createElement(g);
myGridGroup.setAttribute(id,myGridGroup);
test=svgdoc.getElementById(myGridGroup);
alert(test);
resultat de alert: null avec FireFox, pas de pb avec IE???
[Non-text portions of this message have
Hi
Souldn't you append group to svgdoc before trying to get it?
Jérôme
---
Jérôme de la Goutte
Responsable de projet
ISAGRI Ingéniérie
E-mail : [EMAIL PROTECTED]
Site web : www.terre-net.fr www.isagri.fr
tel: 03 44 06 84 04
fax: 03 44 06 55 61
[EMAIL
Hi
When you create your group element, it is only in memory. It is not attached
to any DOM tree, and as a consequence, it is not a child of your SVG document.
After creating it, you should append it to your svgdocument by
svgdoc.appendChild(myGroup)
Then, you will be able to read the DOM tree
Hello,
You had something like:
var group = svgdoc.createElementNS(null, g);
group.setAttribute(id, group);
Well, at this moment, it does not exist yet in the DOM. You first have
to append it to an element in the document:
svgdoc.getElementById(groupParent).appendChild(group);
You always use
excuse me i forgot a line
myGridGroup = svgdoc.createElement(g);
myGridGroup.setAttribute(id,myGridGroup);
myGridLineGroup.appendChild(myGridGroup);
test=svgdoc.getElementById(myGridGroup);
alert(test);
- Original Message -
From: Jérome de la Goutte [EMAIL PROTECTED]
Hi,
svg-developers@yahoogroups.com wrote on 02/20/2006 09:17:02 AM:
myGridGroup = svgdoc.createElement(g);
This is not an SVG 'g' element, so Mozilla won't
treat the attribute named 'id' as an 'ID' attribute.
I suspect you really want:
var SVGNS =
Yes, I know I have to use the proper NS functions :). Have a look at the
SVG Authoring Guidelines from Jonathan Watt
(http://jwatt.org/svg/authoring/). Very interesting and usefull. I was
just concentrating on the problem of this svg user :). (bit lazy)
Jeroen
G. Wade Johnson schreef:
On
--- In svg-developers@yahoogroups.com, Jeroen Vanattenhoven
[EMAIL PROTECTED] wrote:
var group = svgdoc.createElementNS(null, g);
Well, at this moment, it does not exist yet in the DOM. You first have
to append it to an element in the document:
Hi
It's not really IE that is permissive, but ASV :)
---
Jérôme de la Goutte
Responsable de projet
ISAGRI Ingéniérie
E-mail : [EMAIL PROTECTED]
Site web : www.terre-net.fr www.isagri.fr
tel: 03 44 06 84 04
fax: 03 44 06 55 61
[EMAIL PROTECTED] 20/02/2006
where can i find the good syntax for svg, the one that comes from the false
private SVG
- Original Message -
From: Jérome de la Goutte [EMAIL PROTECTED]
To: svg-developers@yahoogroups.com
Sent: Monday, February 20, 2006 3:35 PM
Subject: Re: Rép. : [svg-developers] setAttribute firefox
Anna Kostikova schrieb:
http://tsunami.geo.ed.ac.uk/~s0564876/ADSM/images/sct_map2.svg
When I click on your link, I also see only source code.
I copied the source code and put it on my webserver.
Here I see the expected image:
http://hagoschaos.de/test/TTT.svg
So it seems, that the problem
Hello Hago,
thank you very much for the fast reply!
Do I need to configure the server somehow specifically to display svg?
I found this information online -
http://wiki.svg.org/index.php?title=Server_Configuration
is that the cause of the problem? server misconfiguration?
Anna
-
Anna Kostikova schrieb:
Do I need to configure the server somehow specifically to display svg?
http://wiki.svg.org/index.php?title=Server_Configuration
is that the cause of the problem? server misconfiguration?
Sorry, but I'm not an expert in this point.
Hago
-
To unsubscribe send a
Hi everybody:
someone knows how to use scriptImplementation attribute of the ASV plugin
(come with ASV 3).
and if this possible use it even if you have installed the ASV plugin 6.
I was implementing this attribute in my application in order to use it in FF
1.5.
this is my code:
15 matches
Mail list logo