xlink:href=file2.js/script
/svg
Thank you.
_
From: svg-developers@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of G. Wade Johnson
Sent: Wednesday, March 01, 2006 8:13 PM
To: svg-developers@yahoogroups.com
Subject: Re: [svg-developers] How to import .js files into SVG
G. Wade
]
On Behalf Of G. Wade Johnson
Sent: Wednesday, March 01, 2006 8:13 PM
To: svg-developers@yahoogroups.com
Subject: Re: [svg-developers] How to import .js
files into SVG
G. Wade
On Wed, 01 Mar 2006 20:59:16 -
Henrique G. Testa [EMAIL PROTECTED] wrote:
Hi,
In my project, I
=file2.js/script
/svg
Thank you.
_
From: svg-developers@yahoogroups.com
[mailto:[EMAIL PROTECTED]
On Behalf Of G. Wade Johnson
Sent: Wednesday, March 01, 2006 8:13 PM
To: svg-developers@yahoogroups.com
Subject: Re: [svg-developers] How to import .js
files into SVG
G
, 2006 8:13 PM
To: svg-developers@yahoogroups.com
Subject: Re: [svg-developers] How to import .js
files into SVG
G. Wade
On Wed, 01 Mar 2006 20:59:16 -
Henrique G. Testa [EMAIL PROTECTED] wrote:
Hi,
In my project, I must import a .js (javascript)
file into an SVG
The xlinks don't have to be in the defs section. I
don't know if they belong there.
This is what works for me:
svg width=200 height=200
xmlns=http://www.w3.org/2000/svg;
xmlns:xlink=http://www.w3.org/1999/xlink;
script type=text/ecmascript
xlink:href=whatever.js/
...
/svg
Jeroen Vanattenhoven wrote:
Is it possible to load .js files via js-code?
when you mean in an asynchrony way - no. you can load them but they will
not be interpreted as the script-interpreter reads them unload of the
main file. that is not an SVG issue, it is the same in HTML, hence it is
a
SVG uses the XLink attribute href to access external files. Try
svg height=200 width=200 xmlns=http://www.w3.org/2000/svg;
xmlns:xlink=http://www.w3.org/1999/xlink;
script type=text/ecmascript xlink:href=arq.js/script
...
/svg
G. Wade
On Wed, 01 Mar 2006 20:59:16 -
Henrique G. Testa
7 matches
Mail list logo