[svg-developers] image element problem cant get image displayed correctly

2005-05-12 Thread s3057220
Hi does anyone know how to display an image.gif in svg. Because when i display the image i have my viewbox set but it does not show the whole image and depending on the size sometimes it is either not there at all or looks nothing like it. Could someone point me in the right direction... Thanks j

[svg-developers] Re: manipulate HTML from within SVG...help please!!!

2005-05-12 Thread Clara
Tried it,..Now I get the stack overflow error message --- In svg-developers@yahoogroups.com, Edgar Valarezo <[EMAIL PROTECTED]> wrote: > In the svg try 'top.alertMe()' . > > > Clara <[EMAIL PROTECTED]> escribió: > Hmm,..I tried the code,..but it doesn't work..I got an error message > that says "

Re[2]: [svg-developers] [Controlling fill color....]

2005-05-12 Thread Richard DEPLANQUE
Salut Jérôme, I'd like to do the same, but I don't know how to do that with Javascript... :-( -- Regards. Richard DEPLANQUE ___ jeudi 12 mai 2005, 18:10:25, vous avez écrit: JTdlG> Salut Richard, JTdlG> I've had a look at your a

Re: [svg-developers] Re: manipulate HTML from within SVG...help please!!!

2005-05-12 Thread Edgar Valarezo
In the svg try 'top.alertMe()' . Clara <[EMAIL PROTECTED]> escribió: Hmm,..I tried the code,..but it doesn't work..I got an error message that says "out of stack space"I wonder why.. --- In svg-developers@yahoogroups.com, "joobs_27" <[EMAIL PROTECTED]> wrote: > --- In svg-developers@yahoogr

[svg-developers] Re: centering content in a document

2005-05-12 Thread Nicholas Lucaroni
Are you using any server side scripting? PHP, PERL, VBS... those could be used to find the width/height of an image then used to determine the x/y corner so it is centered. --- In svg-developers@yahoogroups.com, "arianhojat2000" <[EMAIL PROTECTED]> wrote: > hey i was wondering if u can use an e

[svg-developers] Re: manipulate HTML from within SVG...help please!!!

2005-05-12 Thread Clara
Hmm,..I tried the code,..but it doesn't work..I got an error message that says "out of stack space"I wonder why.. --- In svg-developers@yahoogroups.com, "joobs_27" <[EMAIL PROTECTED]> wrote: > --- In svg-developers@yahoogroups.com, "Clara" <[EMAIL PROTECTED]> wrote: > > Can someone please giv

[svg-developers] Re: manipulate HTML from within SVG...help please!!!

2005-05-12 Thread joobs_27
--- In svg-developers@yahoogroups.com, "Clara" <[EMAIL PROTECTED]> wrote: > Can someone please give me an example of calling HTML > page script functions from within SVG?? say when I click an image on > an SVG that is embedded in an HTML file,..I want an alert to come up.. > How can I do that?? I

[svg-developers] manipulate HTML from within SVG...help please!!!

2005-05-12 Thread Clara
Can someone please give me an example of calling HTML page script functions from within SVG?? say when I click an image on an SVG that is embedded in an HTML file,..I want an alert to come up.. How can I do that?? I suppose that I should call javascript function when I click the image..but how do I

Re: [svg-developers] redirection in svg

2005-05-12 Thread Erwan TROEL
Dans un javascript associé à un svg j' ai ecrit: window.location=http://www.google.fr mais rien ne se passe à l'execution peut on faitre des redirections de la sorte en svg ou il y at-il une autre methode? merci - Original Message - From: Erwan TROEL To: svg-developers@yahoogroup

[svg-developers] centering content in a document

2005-05-12 Thread arianhojat2000
hey i was wondering if u can use an element's center of its bounding box to position it. so if i have a 800 by 600 svg, i place it at (400,300) and it is centered. or an v/halign="center" attribute for placing it. i wanna take an in svg and center it in main svg doc. thanx if anyone has a solu

[svg-developers] redirection in svg

2005-05-12 Thread Erwan TROEL
in a javascript associated with a svg I write: window.location="http://www.w3.org"; but nothing happens when executing if i write window.location.href=http://www.w3.org i have a message="window.location has no properties" i don't understand [Non-text portions of this message have been remo

Re: [svg-developers] If i read a node from a file,it can't display in JSVGCanvas

2005-05-12 Thread Thomas DeWeese
wanghua96_1 wrote: > I want to use batik to generate svg and display it, and I have a xml > configuration file(meta.xml). I read configuration from the meta.xml > and use batik to generate the corresponding svg,but it can't display > in JSVGCanvas. But if I use SVGGraphics2D,it works fine,see co

Re: [svg-developers] svg include svg

2005-05-12 Thread Jérôme Tricand de la Goutte
ASV mean Adobe SVG Viewer. This the major plugin used. 3 and 6 are the version. ASV3 is more or less compliant with the SVG spec 1.0 and ASV 6 with 1.2 Jérôme Erwan TROEL a écrit : >what is ASV3 and 6? > - Original Message - > From: Philippe Lhoste > To: svg-developers@yahoogroups.

Re: [svg-developers] svg include svg

2005-05-12 Thread Erwan TROEL
what is ASV3 and 6? - Original Message - From: Philippe Lhoste To: svg-developers@yahoogroups.com Sent: Thursday, May 12, 2005 1:17 AM Subject: Re: [svg-developers] svg include svg Erwan TROEL wrote: > in fact we can't include a svg like a javascript , the svg will only b

Re: [svg-developers] [Controlling fill color....]

2005-05-12 Thread Jérôme Tricand de la Goutte
Salut Richard, I've had a look at your application, but all seems to work. So what's the problem? Jérôme Richard DEPLANQUE a écrit : >Hi, > >I'd like to control the fill color of polylines with a javacript. >But, I want only one group : > > > > > > >So, the javascript is called from a co

Re: [svg-developers] How to place a text into the center of a closed path in a .svg file?

2005-05-12 Thread Jérôme Tricand de la Goutte
Hi Tianji I'm afraid you can't do it 'automaticly', but here are the step you must code yourself, using JS: - draw your path where you want. - get the bounding box parameters, and calculate the center of this box - draw your text at, say, x=0 and y=0, using the font-size you want and so... - get