Re: [svg-developers] external javascript files

2006-07-17 Thread Darryl Watson
Sounds like a relative pathing problem. Can you load these external files into your browser directly, using their relative path? csorba_edith wrote: Hi, It seems I am having trouble with the use of external javascript codes. I included them in my SVG code as follows, i.e.: script

Re: [svg-developers] Re: Passing values/string between two svg files

2006-07-13 Thread Darryl Watson
, Darryl Watson [EMAIL PROTECTED] wrote: Well, you need to write some javascript to retrieve the 2nd SVG file and then call parseXML() on that content, which will give you back a document element, which you can then insert into your first SVG document wherever you need it achio_84

Re: [svg-developers] Passing values/string between two svg files

2006-07-12 Thread Darryl Watson
Well, you need to write some javascript to retrieve the 2nd SVG file and then call parseXML() on that content, which will give you back a document element, which you can then insert into your first SVG document wherever you need it achio_84 wrote: Hi all Can anyone please help me with

Re: [svg-developers] Re: Changing inner SVG element attributes?

2006-07-05 Thread Darryl Watson
wrote: --- In svg-developers@yahoogroups.com mailto:svg-developers%40yahoogroups.com, Darryl Watson [EMAIL PROTECTED] wrote: I have an SVG file with an inner SVG element with its own coordinate system and elements. I want to change the inner SVG element viewBox or translate/scale values

[svg-developers] ActiveX workaround?

2006-06-30 Thread Darryl Watson
Did anyone ever come up with a fix or workaround for the ActiveX click problem in IE? Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/1U_rlB/TM

[svg-developers] Changing inner SVG element attributes?

2006-06-30 Thread Darryl Watson
Hi- I have an SVG file with an inner SVG element with its own coordinate system and elements. I want to change the inner SVG element viewBox or translate/scale values in IE and ASV 3.03, but the viewer seems to ignore my change attempts. Example code: svg id=outer viewBox=0 0 500 500 ...

Re: [svg-developers] Re: SVG and text

2006-06-23 Thread Darryl Watson
Actually, being able to constrain text size to an arbitrary minimum is useful to me because many of my customers are starting to have reading problems. Offering the option to the user of configuring my application so that text is larger, regardless of drawing area, is a significant benefit.

Re: [svg-developers] Re: SVG and text

2006-06-23 Thread Darryl Watson
'tooltips' are where they are requesting size options. Christophe Strobbe wrote: At 17:16 23/06/2006, Darryl Watson wrote: Actually, being able to constrain text size to an arbitrary minimum is useful to me because many of my customers are starting to have reading problems. Offering the option

Re: [svg-developers] Re: Reference of textPath is too short !

2006-06-14 Thread Darryl Watson
What I do to work around this is to put my text into a hidden group, then call getComputedTextLength() on that text element, then draw a path of that size and attach my text to it. I have to do this in the onload() event because we don't know the size of text prior to instatiation in the

Re: [svg-developers] mimicking HTML form elements in SVG

2006-06-01 Thread Darryl Watson
ddailey wrote: As an exercise in one of my classes, I've had students use SVG with JavaScript to create familiar HTML-like form elements: buttons, radio buttons, checkboxes, selects, text inputs, text areas, etc. (or at least to see how close then can get to the familiar behavior of those

[svg-developers] Centering and resizing text

2006-05-22 Thread Darryl Watson
Hello- I have a need in my application to be able to place text elements on a layer of my SVG document, where the text is of arbitary length, and the user coordinate system is of arbitrary size. Essentially, I want to label objects in my document, such as numbering all the points of a

Re: [svg-developers] Re: progress on svg viewers?

2006-05-18 Thread Darryl Watson
run2bmi21 wrote: One minor point regarding the ASV V3 viewer. It took me a while to discover this: As you said in your original posting, you *don't* have either fine or quantifiable zoom control, *but* if you hold down the Ctrl-key, so you then see the little magnifying glass with the

Re: [svg-developers] Re: Vote for SVG Support in IE7

2006-05-11 Thread Darryl Watson
Jeff Schiller wrote: Anyway, I think it's up to us as SVG developers/evangelists to convince people that SVG is worthwhile and start building out those wow applications. Heck, let's make those applications XHTML+SVG with suggestions to IE users that they can update themselves to one of the free

Re: [svg-developers] Re: changing SVG tag attributes?

2006-05-02 Thread Darryl Watson
Thank you Heiko- I made up that bit of code, because my SVG document is much more complex. :) After looking at your code, and attaching an onclick handler to the svg element in question, I discovered that I was changing the attributes of a hidden element, not the actual SVG element that I

[svg-developers] changing SVG tag attributes?

2006-05-01 Thread Darryl Watson
Hi all- I have an SVG element within my SVG document, which contains other elements, thus: svg id=SVGDoc ... circle cx=20 cy=30 r=5 / *svg id=inner x=100 y=150 width=10 height=10...* line x1=3 y1=3 x2=5 y2=5 / */svg* /svg How do I change the x and y attributes of the inner

[svg-developers] onclick question

2006-04-28 Thread Darryl Watson
Checking my onclick behavior assumptions: I have an SVG document with various objects declared in several g tags. When I say that one g tag is 'lower' than another, it means that it was declared before the 'higher' one. g - Layer one, lowest layer, contains some polygon elements g - Layer

[svg-developers] Phone feature creep - was Re: SVG dying?

2006-04-24 Thread Darryl Watson
Ronan Oger wrote: On Friday 21 April 2006 23:30, Geoffrey Swenson wrote: My current phone has a web interface, but it is so tedious to use on the small screen and inadequate keyboard that it is hardly worth the bother and certainly not worth the surcharges on my bill. I agree

Re: [svg-developers] Conway's Game of Life

2006-04-17 Thread Darryl Watson
Interesting application! I get about 7 frames per second on my AMD-64 3200 CPU, with about 40 objects instantiated. Kam-Hung Soh wrote: Between driving 2 * 650 km, amusing the kids and visiting my in-laws over the Easter break, I managed to put together an SVG version of John Conway's Game of

[svg-developers] flipping text on a path

2006-04-03 Thread Darryl Watson
Hi! I have a machine-generated SVG document which contains a layer (or group) that has an arrow line, which is created with a marker. I want to render text along the path of the arrow, so I have created a textPath element which refers to the arrow path. Fine, that works, but my text is

Re: [svg-developers] Re: Some SVG DOM questions

2006-04-01 Thread Darryl Watson
Thanks, Francis, that code example helped me to accomplish what I needed. And it was also good to point out that putting most of the javascript code in the parent HTML makes debugging much easier; I use Visual Studio 2005 as my IDE. Francis Hemsher wrote: Darryl Watson wrote: Hello again

[svg-developers] rubber-banding?

2006-03-31 Thread Darryl Watson
Hello all- I have a need to implement a 'rubber-band' function on an SVG drawing. This is where you click on the drawing, then as you move the mouse around, a line is drawn between your mouse click point and the mouse. I've managed to confuse myself about how to code this kind of function.

Re: [svg-developers] rubber-banding?

2006-03-31 Thread Darryl Watson
Thank you, David, that is a much better approach. David Dailey wrote: At 11:58 AM 3/31/2006, Darryl Watson wrote: Hello all- I have a need to implement a 'rubber-band' function on an SVG drawing. This is where you click on the drawing, then as you move the mouse around, a line is drawn

[svg-developers] Some SVG DOM questions

2006-03-31 Thread Darryl Watson
Hello again- I'm using IE6 and ASV 3.03. I think I'm struggling with some misconceptions about how events work in SVG. I have an embedded SVG document, and most of the time, I have a common set of onclick and onmouseover handlers defined on the SVG tag of the document, which reference inline

Re: [svg-developers] Re: SVG DEbug

2006-03-30 Thread Darryl Watson
This issue is driving me crazy. I have VS 2005, and on my system, Visual Studio will natively debug javascript as if it were .NET code (although not javascript code included in an SVG document). I can set breakpoints and step through javascript without inserting a 'debugger;' line in the

Re: [svg-developers] Patent: Creation of rich-media applications via the internet...

2006-02-23 Thread Darryl Watson
Laurent T. wrote: Folks, Have your heard about such a patent? It seems that this one covers any Rich Media generation, such as SVG or Flash, on the server side?! Software patents are about the worst idea possible, in terms of the continuing advancement of computing. Lots of articles have

[svg-developers] Mozilla and SVG

2006-02-01 Thread Darryl Watson
Mozilla.org announces the 1.0 release of their internet suite, 'SeaMonkey'. Why we care is that they explicitly mention native SVG support. While this is not news to the readers of this email list, it means more exposure for SVG to the internet hoardes. - To unsubscribe send a message

[svg-developers] Line patterns?

2006-01-25 Thread Darryl Watson
Hi all- I'm trying to define a line style which has a character centered on it, and which repeats every inch or so. Looking at the SVG Essentials O'Reilly book, it appears that the capability to do this sort of exists, via the 'text on path' method. However, it looks like one defines a

Re: [svg-developers] Re: Adobe bandoned SVG !!!

2006-01-24 Thread Darryl Watson
Abobe is not going to 'save' SVG... they have their own problems and priorities. So, the best thing to happen to SVG lately is Firefox support. Why? Take a look at the history of the PNG format, or even Javascript, for that matter, to see where IE has to go. Microsoft and the other browser

Re: [svg-developers] Open Sourcing Galactic Pathways

2005-12-06 Thread Darryl Watson
this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- Darryl Watson

Re: [svg-developers] Re: Firefox 1.5 with SVG now officially released

2005-12-01 Thread Darryl Watson
to the svg implementation. Only when the implementation reaches maturity (1.0) should it be transparently integrated. [snip] -- Darryl Watson Senior Software Developer *Roof Express, LLC* 8310 South Valley Highway Suite 300 Englewood

Re: protecting SVG is pointless - was Re: [svg-developers] Protect SVG - Was Re: Today's Joke: Printing SVG in IE

2005-11-16 Thread Darryl Watson
SVG is an open format, by design, so it is the wrong technology to use if you want to hide your data. Jeroen Vanattenhoven wrote: What about GIS data? Currently there are a lot of GIS projects using SVG. I can imagine that GIS companies would like to protect their data. Jeroen -- Darryl

Re: [svg-developers] Today's Joke: Printing SVG in IE

2005-11-10 Thread Darryl Watson
not going to waste much effort in this, because I think it's probably impossible at this time. Anyway, If anyone has a magic bullet to accomplish this, I will be so, so happy, and surprised. Franicis -- Darryl Watson Senior Software

[svg-developers] HTML to SVG JavaScript woes

2005-11-08 Thread Darryl Watson
Hello all- I am using Visual Studio 2005 (the latest release!) to develop a .NET 2.0 Windows application. I have a form with a webBrowser control in it which I use to display SVG data. This browser is an embedded IE 6.0 with Adobe SVG Viewer 3.01. It can display static SVG fine. I can call