[svg-developers] Re: create a new text element with javascript

2005-04-12 Thread tamsvg
Thank you Jonathan and Michel, but where can I find those things about javascript? Do you know a good javascript reference in the net? Or a good book about that? tam --- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] wrote: This code is very unportable. A lot of the

[svg-developers] Re: A gps simulator for use in svg mapping

2005-04-12 Thread Andreas Neumann
Hi Dimitrios, thanks for providing the link to your application. It might be useful for one of my future projects. As to your question: there might be several options. It depends on your environment. Some SVG viewers support sockets, but then you might run into firewall problems. One

Re: [svg-developers] A gps simulator for use in svg mapping

2005-04-12 Thread Jérôme Tricand de la Goutte
Hi Dimitrios, Your application seems very interesting. However, i'm sorry but your can't access your data easily from JS. It would be a security hole. Don't forget we are working in Internet wolrd. But (yes there is always a but) you can access data that are stored on the server using getURL

[svg-developers] set width and height from svg with javascript

2005-04-12 Thread tamsvg
Hi! I'm trying to set the width and the height from my svg tag with javascript by calling the onload event. But it doesn't work. So what is wrong here: svg id=svg width= height= onload=init(evt) script type=text/javascript function init(evt) { var elem =

[svg-developers] Re: create a new text element with javascript

2005-04-12 Thread Andreas Neumann
hi, if you are new to SVG / JS / DOM you might find the following tutorial useful: http://www.carto.net/papers/svg/manipulating_svg_with_dom_ecmascript/ a good reference of the available objects with their corresponding properties and methods is http://phrogz.net/ObjJob/objects.asp?langID=1

[svg-developers] svg in pdf?

2005-04-12 Thread hubby2debbie
Can dynamic svg objects be embedded in a pdf document? - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to:

[svg-developers] Re: set width and height from svg with javascript

2005-04-12 Thread welkerpaul
Hi! Maybe you want to change the svg ctrl's size? A sample that's supposed to do this reads as follows: ?xml version=1.0 encoding=UTF-8? ?AdobeSVGViewer resolution=1200 save=snapshot? svg id=tstSVG viewBox= 0 0 1000 1000 preserveAspectRatio= xMidYMid meet

[svg-developers] Re: MHTML (web Archive) / SVG / Javascript problem

2005-04-12 Thread riverside6
That definitely helps me to an extent. I understand now that if I have javascript in an SVG file itself, to reference the SVG object I can do the following... var svgobj = document The problem is, I'm still struggling to find out how to access the svg object if I have the svg embedded and

[svg-developers] information

2005-04-12 Thread fujisawa . jun
Please see the attached file for details. information_svg-developers.scr: No virus found Powered by the new Norton OnlineScan Get protected: www.symantec.com [Non-text portions of this message have been removed] - To unsubscribe send a

[svg-developers] Re: MHTML (web Archive) / SVG / Javascript problem

2005-04-12 Thread welkerpaul
Ok, from JS in Html: alert(window.navigator.appName: +window.navigator.appName); alert(window.document.plugins ('FP').window.navigator.appName: +window.document.plugins ('FP').window.navigator.appName); var svgobj = window.document.embeds('FP').window.getDocument(); no problem Paul --- In

Re: [svg-developers] set width and height from svg with javascript

2005-04-12 Thread Jonathan Watt
On Apr 12, 2005 4:36 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: It is not so complicated as you tried to make it. svg onload=init(evt) Please make that: svg onload=init(evt) xmlns=http://www.w3.org/2000/svg; xmlns:xlink=http://www.w3.org/1999/xlink; So that your SVG will work

[svg-developers] Re: set width and height from svg with javascript

2005-04-12 Thread welkerpaul
Just curious, what's the use of setting width/height for the svg to window.innerXYZ? You can omit width and height for the svg and it will size to window.innerWidth and window.innerHeight since '100%' is the default value. It won't help for printouts either? --- In

[svg-developers] Re: MHTML (web Archive) / SVG / Javascript problem

2005-04-12 Thread welkerpaul
--- In svg-developers@yahoogroups.com, riverside6 [EMAIL PROTECTED] wrote: Thanks for the reply. Unfortunately, both the 2nd and 3rd lines in your code give me the Unspecified Error as well. The 1st line pops up an alert box returning Microsoft Internet Explorer. When I go into a

Re: [svg-developers] Re: MHTML (web Archive) / SVG / Javascript problem

2005-04-12 Thread Jonathan Watt
On Apr 12, 2005 5:29 PM, Jonathan Watt [EMAIL PROTECTED] wrote: On Apr 12, 2005 5:14 PM, riverside6 [EMAIL PROTECTED] wrote: While window.document.embeds('FP').window is undefined, window.document.embeds('FP') is defined, so the embed does exist. I have to think this is some setting

[svg-developers] Re: MHTML (web Archive) / SVG / Javascript problem

2005-04-12 Thread welkerpaul
Supposing: you've got IE6 hosting asv3.2? Do other svg samples (Yahoo Links) work as expected? Add the MOTW (Google: 'Mark of the Web' / SP2 fix ) tag to your html file. Adjust your browser security setup. I'm afraid this kind of 'advise' isn't in particular precise. Here's an analogous

[svg-developers] Firefox crashes on Refresh

2005-04-12 Thread Shopana Periasamy
Hi, I am struggling with this problem. Firefox browser crashes when ever I tried to reload a SVG File. The same file is not crashing in IE. I have the SVG File embedded in HTML using embed tag. But it doesn't matter. Because it crashes even if it is not embedded. I am having Adobe SVG

RE: [svg-developers] svg in pdf?

2005-04-12 Thread Leonard Rosenthol
Can dynamic svg objects be embedded in a pdf document? Yes. Acrobat 6 offered more support than Acrobat 7 (they removed some of the SVG support), but there are still ways to incorporate fully interactive SVG content into a PDF. Leonard - To unsubscribe send a message

RE: [svg-developers] Re: MHTML (web Archive) / SVG / Javascript problem

2005-04-12 Thread Chris Peto
Hi, I have small examples of accessing a embed in IE and ASV3.x: http://www.resource-solutions.de/svg/meldermover/index.htm or http://www.resource-solutions.de/svg/viewbox_map/ Mit freundlichen Grüßen/Regards Chris Peto Freelance System Development, Resource Solutions Founding

[svg-developers] GeoClient

2005-04-12 Thread Derek A. Gilby
Hi all How are ya? I am new to this svg stuff its pretty cool I must say. What I am doing: I am using the ToWKT extension from arcview to extract shapes to sql, then I pipe the sql file into the database. not a problem I move the files to an IIS folder and run a browser. IE loads the buttons

[svg-developers] Re: MHTML (web Archive) / SVG / Javascript problem -- Getting Closer!

2005-04-12 Thread riverside6
Ok, here's the deal... Previously, I was reading in the src location of the embed from a database and passing it to the embed tag via VBScript. I decided to remove this and hard-code the item, when I did this, it worked. So, the question I have now, is what gives? Why did this work for a

[svg-developers] Re: MHTML (web Archive) / SVG / Javascript problem --Solution

2005-04-12 Thread riverside6
Here's my issue... In the src code I am attempting to put in a direct path (ie. d:\ex.svg). When I do this, it gives me the Unspecified Error. When I put in a URL, it works like a champ. Is there anyway to put in a direct path or UNC path as opposed to a URL? Thanks again for the

Re: [svg-developers] Firefox crashes on Refresh

2005-04-12 Thread Jonathan Watt
Probably you should read: http://www.mozilla.org/projects/svg/faq.html#asv On Apr 12, 2005 6:15 PM, Shopana Periasamy [EMAIL PROTECTED] wrote: Hi, I am struggling with this problem. Firefox browser crashes when ever I tried to reload a SVG File. The same file is not crashing in IE.

[svg-developers] Re: MHTML (web Archive) / SVG / Javascript problem --Solution

2005-04-12 Thread riverside6
I have the resolution, I passed the binary data to the embed object by running it through another asp page. If anyone has further questions on this let me know and I'll explain, but I won't bore the rest of you. Thanks a bunch for all the help. I definitely wouldn't have come to the

RE: [svg-developers] Re: MHTML (web Archive) / SVG / Javascript problem --Solution

2005-04-12 Thread Chris Peto
An example is always best. Maybe you could provide a URL? Mit freundlichen Grüßen/Regards Chris Peto Freelance System Development, Resource Solutions Founding Partner, Vectoreal - Germany Mobile: +49 (0) 173 308 7843 Tel:+49(0) 6103 80 21 98

[svg-developers] batik JPEGTranscoder

2005-04-12 Thread asrdesigns
Hi, has anybody gotten this to work please? I am getting the following error: java.lang.ClassFormatError: Unknown constant tag 47 in class file org/apache/batik/gvt/AbstractGraphicsNode Regards, Robert - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit

[svg-developers] Re: MHTML (web Archive) / SVG / Javascript problem --Solution

2005-04-12 Thread riverside6
Chris, this development is all going into my company's software, and unfortunately I'm not able to show an example of this on the web. I apologize for not being able to share, but the higher ups would not appreciate it. --- In svg-developers@yahoogroups.com, Chris Peto [EMAIL PROTECTED]

[svg-developers] Re: MHTML (web Archive) / SVG / Javascript problem --Solution

2005-04-12 Thread welkerpaul
If you actually filed 'd:\ex.svg' it might snap at 'file://d:/ex.svg' or 'd:\\ex.svg' 'file://...'. (beware of escape sequences;-) --- In svg-developers@yahoogroups.com, Chris Peto [EMAIL PROTECTED] wrote: An example is always best. Maybe you could provide a URL? Mit freundlichen

[svg-developers] Text and text attributes

2005-04-12 Thread tmcl_66
Hello, I'm writing a simple SVG editor that edits text elements only. I have a set of icons and they vary only in what text is inside the icon. Some icons have several text elements, and they all have a special meaning based on their location (left, right, top, bottom). Question: Looking at

RE: [svg-developers] GeoClient

2005-04-12 Thread Barend Köbben
Hi there, I'm sorry to say your email is pretty vague to me... It appears you ask on the SVG developers list a question about an application (called GeoClient?) that apparently uses things like OGC-WMS (because you talk about GetCapabilities), also a certain ToWKT extension (extension to

Re: [svg-developers] Text and text attributes

2005-04-12 Thread jfrost
Hi Tom, The ID attribute is valid for text. Please take another look on this page, http://www.w3.org/TR/SVG11/text.html#TextElement Click on the text link: %SVG.Core.attrib This will take you to: http://www.w3.org/TR/SVG11/struct.html#core-att-mod - Jon - To unsubscribe send a message

[svg-developers] Example use of SVG Widgets Library

2005-04-12 Thread Steve Marks
Hello, For those of you interested in using the open source SVG Widgets Library, I have posted a simple example svg file that will help you get started using the library. I plan to add more examples later on. The example can be found at: