Re: [svg-developers] opera 9.5 and 9.6 do not shrink embed svg

2008-09-24 Thread Jonathan Watt
philsvg2 wrote: Hi All, I had upgrade my web site http://www.visualkit.com http://www.visualkit.com so it is now compliant with FF 3.0, IE+ASV3, and Opera 9.25 (svg-html-svg communication, as always, you can grab the code as example, all necessary code is in html or svg page (sorry, not

Re: [svg-developers] external css + pattern in FF3

2008-02-19 Thread Jonathan Watt
That's a bug in Firefox. Linking in the style sheet using the xml-stylesheet should work just as well as having the CSS inline in the SVG file. indrek.meagi wrote: Firefox 3 beta 3 render not pattern if css part is not in svg file. Example: My.SVG: ?xml version=1.0?

Re: [svg-developers] Please test your SVG in Firefox 3 Beta 3

2008-02-18 Thread Jonathan Watt
Hi David, I'm glad to hear that you're generally impressed with the beta. Regarding the choking filters, some work is ongoing to improve filter performance. It would be good to have a list of the SVG files containing filters that you're having problems with for us to test against. Thanks for the

[svg-developers] Please test your SVG in Firefox 3 Beta 3

2008-02-16 Thread Jonathan Watt
Hi all, As some of you will have noticed, the third beta of Firefox 3 was released earlier this week. http://developer.mozilla.org/devnews/index.php/2008/02/12/firefox-3-beta-3-now-available-for-download/ Things are now getting pretty solid so now would be a great time for people to try it out

Re: [svg-developers] ctrl+click on use with wlink:href on firefox

2008-02-14 Thread Jonathan Watt
deluxepotatoe wrote: I'm using a reference to a symbol like following : {{{ use xlink:href=#symbol-railroad_crossing / }}} My problem is that ctrl+click on such an element opens a new tab under FF2. Is there any known way to prevent this ? You can try adding something like onclick=if

Re: [svg-developers] Good SVG progress in Opera 9

2006-05-08 Thread Jonathan Watt
On 5/8/06, Jonathan Chetwynd [EMAIL PROTECTED] wrote: two alert dialogues Object SVGGElement (evt.Target) symbol2 (evt.Target.id) Firefox1.5 Mozilla shouldn't be doing that. You should use .getAttribute('id') instead of .id -Jonathan

Re: [svg-developers] Re: Good SVG progress in Opera 9

2006-05-08 Thread Jonathan Watt
On 5/8/06, Jim Ley [EMAIL PROTECTED] wrote: You should use .getAttribute('id') instead of .id but if you're going to do that, then you might want to read this excellent article by one Jonathon Watt: http://jwatt.org/svg/authoring/#namespace-aware-methods Err, *cough*. Not my day, is it?

Re: [svg-developers] Re: Good SVG progress in Opera 9

2006-05-08 Thread Jonathan Watt
: Jonathan, that's extremely kind once again, I just can't get my head around supporting different ways of doing stuff. ASV also supports both... thanks ~: Jonathan Chetwynd On 8 May 2006, at 10:26, Jonathan Watt wrote: .getAttribute('id

Re: [svg-developers] SVG Scriting Across FF and IE. FAQ

2006-05-03 Thread Jonathan Watt
Hi, On 5/3/06, chmavrog [EMAIL PROTECTED] wrote: Hi everyone, On my pc i have IE 6 and ASV3 and FireFox 1.5.02 (latest one). Actually 1.5.0.3 is the latest one. ;-) Here are my questions.Please someone respond with Correct or False after seeing my answers -Object tag is HTML 4.01 but

Re: [svg-developers] Re: SVG Scriting Across FF and IE. FAQ

2006-05-03 Thread Jonathan Watt
Demo: http://jwatt.org/svg/demos/xhtml-with-inline-svg.xhtml Docs: http://wiki.svg.org/Inline_SVG On 5/3/06, chmavrog [EMAIL PROTECTED] wrote: Martin, is there a link that you can sent me in order to see this for IE+ASV --- In svg-developers@yahoogroups.com, Martin Honnen [EMAIL PROTECTED]

Re: [svg-developers] Re: recommend web hosting service that supports SVG?

2006-04-30 Thread Jonathan Watt
. It's cheaper anyway. And, of course, we know why SUN is cheaper than MS! ;-) Cheers, TJ -Original Message- From: Jonathan Watt [EMAIL PROTECTED] Sent: Apr 27, 2006 3:25 PM To: svg-developers@yahoogroups.com Subject: Re: [svg-developers] recommend web hosting

Re: [svg-developers] Re: to display embeded SVG in Firefox

2006-04-30 Thread Jonathan Watt
Hi talki, I suspect this is a bug in Firefox. If this is the bug I suspect, there are no good instructions on fixing things yet, but I'm going to write some up and add them to mozilla.org. In the mean time, try the following: 1) Close Firefox 2) Find your Firefox profile directory (see

Re: [svg-developers] Re: to display embeded SVG in Firefox

2006-04-30 Thread Jonathan Watt
Oops, sorry, wrong link: On 4/30/06, Jonathan Watt [EMAIL PROTECTED] wrote: 7) Restart Firefox and load http://jwatt.org/svg/demos/svg.svg That should have been http://jwatt.org/svg/demos/scripting-across-embed.html If you see the white cross on the blue background, then it's fixed [Non

Re: [svg-developers] Re: to display embeded SVG in Firefox

2006-04-30 Thread Jonathan Watt
There _is_ a bug in Firefox, but most people don't encounter it (I hope). Certain series of actions can lead to your Firefox profile's mimeTypes.rdffile being corrupted so that embedded SVG that used to work for you, may suddenly stop working. On 4/30/06, Richard Gnyla [EMAIL PROTECTED] wrote:

Re: [svg-developers] image onload

2006-04-27 Thread Jonathan Watt
Have you guys tried svgDoc.getElementById(I).reload(); ? On 4/27/06, David Dailey [EMAIL PROTECTED] wrote: At 09:34 AM 4/27/2006, you wrote: try setting the onload from in javascript - that's what i'm attempting and she no work. Oh... now I see what you're talking about -- I tried the

Re: [svg-developers] object vs embed Re: An SVG Tutorial

2006-04-17 Thread Jonathan Watt
Hi David, On 4/17/06, David Dailey [EMAIL PROTECTED] wrote: At 09:47 AM 4/17/2006, Jeff Schiller wrote: Also, shouldn't you be using object in Firefox and Opera? I don't know. I was wondering this very question yesterday and did some simple experiments seeing if I could script across HTML

Re: [svg-developers] reporting bugs Re: An SVG Tutorial

2006-04-17 Thread Jonathan Watt
Hi guys, On 4/17/06, Jeff Schiller [EMAIL PROTECTED] wrote: --- In svg-developers@yahoogroups.com, David Dailey [EMAIL PROTECTED] wrote: 2. I usually figure if something doesn't work, someone is usually aware of it -- for example at

Re: [svg-developers] can someone validate the code

2006-01-30 Thread Jonathan Watt
Another reason not to use a DOCTYPE declaration. The version attribute is good. Leave it in and nuke the DOCTYPE instead. :-) On 1/30/06, Peter Thompson [EMAIL PROTECTED] wrote: The SVG file validates in XMLSpy when the version attribute is removed from the SVG element, so that line looks

Re: [svg-developers] 'font-size' and 'text-rendering' Error

2006-01-30 Thread Jonathan Watt
Sounds like you're using Mozilla Firefox and that you've encountered the problem explained here: http://jwatt.org/svg/authoring/#specifying-units -Jonathan On 1/30/06, RODOLFO MORENO LLACZA [EMAIL PROTECTED] wrote: Folks: My code get this error: - Error in parsing value for

Re: [svg-developers] Re: How do I embed one svg file in another? (FF)

2006-01-25 Thread Jonathan Watt
On 1/25/06, Martin Honnen [EMAIL PROTECTED] wrote: --- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] wrote: How about looking into the SVG specification then instead of making things up? That's a little harsh. :-) This is his/her first post to the list, so

Re: [svg-developers] Re: How do I embed one svg file in another? (FF)

2006-01-24 Thread Jonathan Watt
Hi Martin, On 1/24/06, Martin Honnen [EMAIL PROTECTED] wrote: --- In svg-developers@yahoogroups.com, seanmc_42 [EMAIL PROTECTED] wrote: Just got into SVG via the Firefox 1.5 browser... Experimenting - in an html file you can do an object or embed, but what do I use in another SVG file?

Re: [svg-developers] Re: Passing values from HTML to SVG

2006-01-10 Thread Jonathan Watt
On 1/10/06, Christopher Sharp [EMAIL PROTECTED] wrote: Hi Jonathan, I put in some CSS in the HTML code, but other than that, a few cosmetic changes and removing the redundant link to the file bytehex.js, I made no changes to the Javascript, then uploaded the file to

Re: [svg-developers] Re: Firefox problem with SVGPathSegList::replaceItem()

2006-01-08 Thread Jonathan Watt
Hi Jeff, On 1/8/06, Jeff Schiller [EMAIL PROTECTED] wrote: --- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] wrote: Hi Jeff On 1/7/06, Jeff Schiller [EMAIL PROTECTED] wrote: Is the method not implemented in Firefox 1.5? Correct, that's what

Re: [svg-developers] Passing values from HTML to SVG

2006-01-08 Thread Jonathan Watt
Hi Christopher, On 1/7/06, csharpdotcom [EMAIL PROTECTED] wrote: Hello Everybody, I am new to this newsgroup, and this is my first post. I have been playing around with scripting SVG, but I am having trouble transfering data from an HTML form to an embedded SVG document. At

Re: [svg-developers] Re: Passing values from HTML to SVG

2006-01-08 Thread Jonathan Watt
other browsers. Christopher --- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] wrote: Hi Christopher, It looks like you're exeriencing the same problem that jaychambers just posted to the list, except that he experienced it in Firefox, while you're experiencing

Re: [svg-developers] Re: Firefox issues with createElementNS, works in IE

2006-01-07 Thread Jonathan Watt
informative. -Jonathan -j --- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] wrote: Hi, The problem is likely that the SVG document hasn't yet loaded when draw() is called. Instead of calling it in the script element, call it onload. This should work I think

Re: [svg-developers] Firefox problem with SVGPathSegList::replaceItem()

2006-01-07 Thread Jonathan Watt
Hi Jeff On 1/7/06, Jeff Schiller [EMAIL PROTECTED] wrote: I'm writing some code that uses the SVG DOM and I do the following to check if the methods/attributes exist: 1: var p = document.createElementNS(SVGNS, path); 2: if(p.pathSegList.appendItem p.pathSegList.replaceItem) { 3:

Re: [svg-developers] Passing values from HTML to SVG

2006-01-07 Thread Jonathan Watt
Hi Christopher, It looks like you're exeriencing the same problem that jaychambers just posted to the list, except that he experienced it in Firefox, while you're experiencing it in IE+ASV. At least one problem is that you need to wait until the SVG is loaded before trying to access it. Calling

Re: [svg-developers] Firefox issues with createElementNS, works in IE

2006-01-06 Thread Jonathan Watt
Hi, The problem is likely that the SVG document hasn't yet loaded when draw() is called. Instead of calling it in the script element, call it onload. This should work I think: html body onload=draw(); EMBED NAME=mydoc WIDTH=800 HEIGHT=600 SRC=canvas.svg / script language=javascript var

Re: [svg-developers] Corecting Javascript for Firefox

2005-12-23 Thread Jonathan Watt
Hi Richard, On 12/22/05, Richard Pearman [EMAIL PROTECTED] wrote: In the hope that my hosting company will sort out encoding for SVGZ (if they don't I'll find another one when it comes up for re-newal), I decided to correct my Javascript so it works with Firefox. It seemed that the main

Re: [svg-developers] Re: Does Firefox 1.5 support SVGZ?

2005-12-19 Thread Jonathan Watt
Hi Richard, Unfortunately Mozilla Firefox 1.5 can't load gzip compressed SVG locally (that needs to be fixed), but it can load it from a server when served with the correct HTTP headers. Here are a bunch of random links that should demonstrate that for you:

Re: [svg-developers] Re: Firefox 1.5 with SVG now officially released (A word of appreciation.)

2005-12-09 Thread Jonathan Watt
Thanks Marjorie. It's very kind of you to say so publicly. It would certainly be very cool if InstantAtlas could get their content working in FF. If they need any help I'd be glad to see what I can do. All the best, Jonathan On 12/8/05, Marjorie Roswell [EMAIL PROTECTED] wrote: You write

Re: [svg-developers] Updating Image file

2005-12-09 Thread Jonathan Watt
On 12/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks, I'll try that. What I had tried was: svgdoc.getElementById('image').setAttributeNS('xlink:href', 'image.png'); and that doesn't do anything. It doesn't error, but it doesn't do anything. Strange. In FF 1.5 if you don't

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

2005-12-08 Thread Jonathan Watt
Hi Domenico, I understand your main argument that you think it's too early to release Mozilla's SVG implementation, and that you think the overall effect will be to harm SVG on the Web. I just happen to take the opposite view. Clearly there are people on this list that fall into both camps; some

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

2005-12-08 Thread Jonathan Watt
On 12/5/05, domenico_strazzullo [EMAIL PROTECTED] wrote: On 12/4/05, Doug Schepers [EMAIL PROTECTED] wrote: p.s. Don't confuse Jonathan's politeness for insincerity. He's a stand-up fellow Thanks Doug. I appreciate you saying so. Which I'm not confusing. I think I know how to detect

Re: [svg-developers] getSheet() and FireFox 1.5

2005-12-08 Thread Jonathan Watt
Hi Benjamin, The .getSheet() syntax is not supported. You have to use the standard ECMAScript interface .sheet instead (this should work in ASV too). For more info as to why see: http://jwatt.org/svg/authoring/#asv-getters-and-setters Regards, Jonathan On 12/7/05, campin_b [EMAIL PROTECTED]

Re: [svg-developers] getSheet() and FireFox 1.5

2005-12-08 Thread Jonathan Watt
On 12/8/05, Antoine Quint [EMAIL PROTECTED] wrote: On 8 déc. 2005, at 11:49, Jonathan Watt wrote: The .getSheet() syntax is not supported. You have to use the standard ECMAScript interface .sheet instead (this should work in ASV too). For more info as to why see: http://jwatt.org

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

2005-12-01 Thread Jonathan Watt
Hi Demenico, On 12/1/05, domenico_strazzullo [EMAIL PROTECTED] wrote: Hi, I have a few remarks, var fnt_size = parseInt(txttoformat.getAttributeNS(null,font- size)); vs var fnt_size = parseInt(txttoformat.getAttribute(font-size)); These both work in Ffx 1.5. I read that As pointed

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

2005-11-30 Thread Jonathan Watt
Hi all, On 11/30/05, Andreas Neumann [EMAIL PROTECTED] wrote: It seems like Mozilla Firefox 1.5 with native SVG support is now officially released! It's worth mentioning that Mozilla Firefox 1.5 release candidate 3 became the official Mozilla Firefox 1.5 release, so if you downloaded rc3

Re: [svg-developers] .nodeValue vs. .data

2005-11-30 Thread Jonathan Watt
Hi Andreas, They are both part of DOM2, and for Text nodes they are equivalent. In fact Mozilla implements .nodeValue for such nodes by forwarding to .data. -Jonathan On 11/30/05, Andreas Neumann [EMAIL PROTECTED] wrote: Hi all, I have a question regarding .nodeValue vs. .data For setting

Re: [svg-developers] Incorrect display in Firefox 1.5, but validates correct

2005-11-19 Thread Jonathan Watt
Hi, I've only had a quick look, but you haven't specified units for your CSS lengths. See http://jwatt.org/svg/authoring/#css-and-units for an explaination. Regards, Jonathan On 11/19/05, arjenmeijernl [EMAIL PROTECTED] wrote: On http://www.alforto.nl/?cultuur.html are 4 svg pictures that

Re: [svg-developers] Internet Explorer unable to display pages with SVG

2005-11-08 Thread Jonathan Watt
On 11/8/05, Chris Lilley [EMAIL PROTECTED] wrote: svg width=50 height=50 viewBox=0 0 100 100 you are missing an SVG namespace declaration. that certainly stops it displaying in several implementations. Richard, Chris is right, see http://jwatt.org/svg/authoring/ for a list of common

Re: [svg-developers] XMLHTTP and IE DOM

2005-11-04 Thread Jonathan Watt
Hi Garry, On 11/4/05, Garry Haywood [EMAIL PROTECTED] wrote: while(betaChild!=null){ alert (betachild.getAttribute('col001')) Watch your spelling! ;-) -Jonathan [Non-text portions of this message have been removed] Yahoo! Groups Sponsor

Re: [svg-developers] Re: XMLHTTP and IE DOM

2005-11-04 Thread Jonathan Watt
On 11/4/05, Garry Haywood [EMAIL PROTECTED] wrote: but the real issue how do get object.responseXML into the DOM? responseXML is a DOM tree. I'm not sure what you mean. I do see another error though. On 11/4/05, Garry Haywood [EMAIL PROTECTED] wrote: while(child!=null){

Re: [svg-developers] parent is not defined svg/html

2005-11-04 Thread Jonathan Watt
Hi, On 11/4/05, Erwan TROEL [EMAIL PROTECTED] wrote: i embed a svg in an html page with the fucntion emitSVG in my svg i link a javascript file: script xlink:href=../../../init.js language=JavaScript / in this javascript file i write alert(parent.getURL()) i have an error message:

Re: [svg-developers] Re: XMLHTTP and IE DOM

2005-11-04 Thread Jonathan Watt
So does it work now or is it still broken? If the latter it would be good to have some for info. Browser, version etc. On 11/4/05, Garry Haywood [EMAIL PROTECTED] wrote: it is probably my confusion I know that the request has been sucessful a) it is tested for and b) req.responseText is

Re: [svg-developers] parent is not defined svg/html

2005-11-04 Thread Jonathan Watt
What do you mean it doesn't work yet? Some basic information about where you're running this script would help a lot. On 11/4/05, Erwan TROEL [EMAIL PROTECTED] wrote: top.getURL() doesn't work yet - Original Message - From: Jonathan Watt [EMAIL PROTECTED] To: svg-developers

Re: [svg-developers] Re: XMLHTTP and IE DOM

2005-11-04 Thread Jonathan Watt
On 11/4/05, Garry Haywood [EMAIL PROTECTED] wrote: thanks for help wattie No problem Garry (name's Jonathan BTW). it's still not working in either IE6 or FF (DPA) in IE, it gets through the makeTable() function, but has there appears to be no firstChild I can't traverse anywhere Strange.

Re: [svg-developers] key press event

2005-11-04 Thread Jonathan Watt
On 11/4/05, david dailey [EMAIL PROTECTED] wrote: At 03:00 AM 11/4/2005, Arthy wrote: Hai , I have one problem to be clarrified.is http://clarrified.is there a possibility to call a function on enter key press in svg (key press) the function should be executed on pressing the enter key

Re: [svg-developers] Re: Get the sourcename of the svg file to get the querystring

2005-10-19 Thread Jonathan Watt
). J --- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] wrote: Are you looking for document.URL On 10/19/05, jophof007 [EMAIL PROTECTED] wrote: Hi, Does any one has an example of getting the source name (I think it must be done with .getSrc () ) of the svg

Re: [svg-developers] Get the sourcename of the svg file to get the querystring

2005-10-19 Thread Jonathan Watt
Are you looking for document.URL On 10/19/05, jophof007 [EMAIL PROTECTED] wrote: Hi, Does any one has an example of getting the source name (I think it must be done with .getSrc () ) of the svg file. The code must run in the SVG file (running Adobe but a problem that runs fine in Firefox

Re: [svg-developers] what is the firefox equivalent?

2005-10-19 Thread Jonathan Watt
Hi, I think you need to take a look at the following. http://jwatt.org/svg/authoring/#asv-getters-and-setters I'd strongly encourage you to read the rest of that document too. Regards, Jonathan On 10/19/05, Z T Minhas [EMAIL PROTECTED] wrote: Hi, This works with the adobe plugin, but not

Re: [svg-developers] SVG and XLink in HTML

2005-10-18 Thread Jonathan Watt
Hi, I just started a doc on the SVG wiki for inline SVG. See http://www.google.co.uk/search?q=xslt+line+break That should help put you on the right track for getting it working in both IE+ASV and FF. The doc could use some more eyes on it to work out the bugs and improve it anyway. Regards,

Re: [svg-developers] getClientX() and getBBox() not in Firefox 1.5?

2005-10-17 Thread Jonathan Watt
This is a very unfortunate problem. :-( On 10/17/05, Jérôme Tricand de la Goutte [EMAIL PROTECTED] wrote: Hi Jeff, On FF 1.5, you can't also do, for example : var myObj=document.createElementNS(NameSpace, 'rect') myObj.setAttribute('x',20) myObj.setAttribute('y',20)

Re: [svg-developers] node from id

2005-10-17 Thread Jonathan Watt
Hi maiko, JavaScript isn't a strongly typed language, so you don't have to cast or anything like that. You just use the interface you need: var myItem = document.getElementById('myItemId'); myItem.removeChild(...); -Jonathan On 10/17/05, osaka minami [EMAIL PROTECTED] wrote: hi, i am

Re: [svg-developers] node from id

2005-10-17 Thread Jonathan Watt
On 10/17/05, osaka minami [EMAIL PROTECTED] wrote: well i just found document.getElementById('myItemId').parentNode.removeChild( document.getElementById('myItemId)); Ah, I see. I hadn't understood it was the parent node you wanted. that's a wired logic... maiko hi, i am wondering

Re: [svg-developers] node from id

2005-10-17 Thread Jonathan Watt
On 10/17/05, david dailey [EMAIL PROTECTED] wrote: At 08:24 AM 10/17/2005, Doug wrote: That way, you're only hitting the DOM to find the element once, instead of twice. gEBI is a rather expensive method call, I would think, especially on large documents (unless the implementation caches a

Re: [svg-developers] Firefox generate polygon from javascript

2005-10-16 Thread Jonathan Watt
Hi Jon, I'd suggest for now you use setAttributeNS(null, 'p', 'value') since I don't think the SVGPointList interface is supported by ASV. It just makes things a bit more portable. Having said that: On 10/16/05, Jon Saints [EMAIL PROTECTED] wrote: Simple question from a newbie: How can I

Re: [svg-developers] Re: Re: setAttributeNS is dumb,dumb,dumb!

2005-10-06 Thread Jonathan Watt
On 10/6/05, Jim Ley [EMAIL PROTECTED] wrote: Jonathan Watt [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 10/6/05, Richard Smith [EMAIL PROTECTED] wrote: The problem is, browsers (such as Mozilla) decided long ago to make a consistant stand. Unfortunately not, Mozilla's

Re: [svg-developers] Re: setAttributeNS is dumb,dumb,dumb!

2005-10-06 Thread Jonathan Watt
On 10/6/05, Robin Berjon [EMAIL PROTECTED] wrote: Jonathan Watt wrote: But what if you go against these instructions? What if you use createElement instead of createElementNS in your SVG documents? What should happen? Is it possible that it could create an element in the same namespace

Re: [svg-developers] Ego Games (was: setAttributeNS is dumb,dumb,dumb!)

2005-10-06 Thread Jonathan Watt
On 10/7/05, Doug Schepers [EMAIL PROTECTED] wrote: In fact, none of this is new; I told you about the issue on your own svg-and-the-dom list *2 years* ago [1]. You were warned long before you created the content that you are now claiming FF breaks. Oh, now that *is* interesting. *Very*

Re: [svg-developers] Re: Ego Games (was: setAttributeNS is dumb,dumb,dumb!)

2005-10-06 Thread Jonathan Watt
. Putting that advice into practice would have required next to zero extra time. f. --- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] wrote: On 10/7/05, Doug Schepers [EMAIL PROTECTED] wrote: In fact, none of this is new; I told you about the issue on your own svg

Re: [svg-developers] Re: setAttributeNS is dumb,dumb,dumb!

2005-10-06 Thread Jonathan Watt
to their code. (search and replace!) Regards, Jonathan Regards, Francis --- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] wrote: On 10/6/05, Robin Berjon [EMAIL PROTECTED] wrote: Jonathan Watt wrote: But what if you go against these instructions? What

Re: [svg-developers] Re: setAttributeNS is dumb,dumb,dumb!

2005-10-06 Thread Jonathan Watt
On 10/7/05, Francis Hemsher [EMAIL PROTECTED] wrote: hai, Jonathan Hey. Fistly, I am appreciative that you didn't respond under the ego thingy. Secondly, off to the aside, I respect your comments, but I don't yet place you in sainthood of SVG(maybe later after we are all fat and sassy).

[svg-developers] Firefox 1.5 beta 2 released

2005-10-06 Thread Jonathan Watt
Firefox 1.5 beta 2 has been released. This will be the final beta before 1.5proper. Despite its beta label, this build should have good stability, so I'd encourage everyone to take it for a spin. Those of you who have beta 1 installed should be able to use the software update feature to upgrade to

Re: [svg-developers] Re: DOM Nodelist whitespace

2005-09-21 Thread Jonathan Watt
Hi Martin, On 9/21/05, Martin Honnen [EMAIL PROTECTED] wrote: The W3C DOM would suggest to use e.g. childNode.nodeType == Node.ELEMENT_NODE Actually I'm not sure it does require Node to be a globally exposed object. That's why I used childNode.ELEMENT_NODE since it does require that these

Re: [svg-developers] Re: DOM Nodelist whitespace

2005-09-21 Thread Jonathan Watt
On 9/21/05, Martin Honnen [EMAIL PROTECTED] wrote: --- In svg-developers@yahoogroups.com, Cameron McCormack [EMAIL PROTECTED] wrote: Martin Honnen: What you suggest, childNode.ELEMENT_NODE, is not supported in Adobe SVG viewer either. Nor in other DOM implementations I know, beside

Re: [svg-developers] Re: Re: DOM Nodelist whitespace

2005-09-21 Thread Jonathan Watt
On 9/21/05, Jim Ley [EMAIL PROTECTED] wrote: All objects that implement the Node interface must expose all it's constants, attributes and methods. As you can see in ecma-script-binding.html the constants are part of the Prototype Object Node which seems to indicate they could be made

Re: [svg-developers] Re: DOM Nodelist whitespace

2005-09-20 Thread Jonathan Watt
On 9/20/05, Martin Honnen [EMAIL PROTECTED] wrote: var childNodes = someElement.childNodes; for (var i = 0; i childNodes.length; i++) { var childNode = childNodes[i]; if (childNode.nodeType == 1) { // element node // process element node if you want } else if (childNode.nodeType == 3) {

Re: [svg-developers] IE won't load svg as object inside html

2005-09-02 Thread Jonathan Watt
Hi On 9/2/05, stig_kronback [EMAIL PROTECTED] wrote: object data=http://localhost/svg_dev/diagrams/diagram2209.svg; width=1000 height=500 type=image/svg+xml/ This probably isn't the cause of your problem in IE, but note that the HTML 'object' element is not an empty element. In other

Re: [svg-developers] Re: getURL parameter type mismatch error within handleEvent on ASV using prototypes

2005-08-24 Thread Jonathan Watt
Hi Klaus, I think there are issues with using the same object as both an event handler and getURL callback. I probably caught that in the #svg channel on irc.freenode.org. Try googling svg.jibbering.com to see if the logs have any useful info. On 8/24/05, arosyada [EMAIL PROTECTED] wrote: Hi

Re: [svg-developers] Help with SkewY for newbie!

2005-08-12 Thread Jonathan Watt
Hi, Skew applies to the coordinate system (as with any transform), not just the object. The skewX will be shifting the rectangle too, it's just that the 'y' attribute is so close to zero it isn't so noticable. Set 'y' to 588 or something and apply/remove the skewX and you'll see what I mean. If

Re: [svg-developers] Re: Detect native SVG support

2005-07-28 Thread Jonathan Watt
First off, I've noticed that my suggested script doesn't work in IE6 since it doesn't seem to implement createElementNS. To prevent a script error I'll revise my script to: var hasNativeSVG = false; try { if (document.createElementNS('http://www.w3.org/2000/svg','svg').width) hasNativeSVG =

Re: [svg-developers] Re: Detect native SVG support

2005-07-28 Thread Jonathan Watt
Hi Mark, You're quite right of course. This would be the *real* way to do it, and Mozilla happily returns true for both tests. Opera doesn't support scripting of SVG (yet) I believe, so the test won't work for it, but as far as *script* testing goes this is definately the way to do it. Thanks!

Re: [svg-developers] Re: Detect native SVG support

2005-07-28 Thread Jonathan Watt
I'm told that we are doing the right thing, and that not render doesn't mean not parse. Alternative content should still appear in the DOM as usual, and any img elements should have their content loaded. Hence the onload should fire. It seems a bit counter to what you'd expect, but there you go.

Re: [svg-developers] Native mozilla svg onclick event only activates once

2005-07-27 Thread Jonathan Watt
Hi, can you submit a bug reports using the form here: https://bugzilla.mozilla.org/enter_bug.cgi?product=Corecomponent=SVG please? It would also be excellent if you could attach a reduced testcase (the simplest SVG document that still demonstrates the problem) on the bug after you've filed it.

Re: [svg-developers] Detect native SVG support

2005-07-27 Thread Jonathan Watt
Perhaps something like var hasNativeSVG = document.createElementNS('http://www.w3.org/2000/svg','svg').viewBox ? true : false; will do what you want? If the implementation doesn't support SVG, then the element it creates won't have a 'viewBox' property. There's probably a lighterweight way of

Re: [svg-developers] Re: Detect native SVG support

2005-07-27 Thread Jonathan Watt
/27/05, jophof007 [EMAIL PROTECTED] wrote: Hi, Sounds as a solution. But Mozilla is trying to implement zoom and pan things so a viewbox will appear in future I think. It is not that easy to determine. John --- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] wrote

Re: [svg-developers] The Future of SVG

2005-07-01 Thread Jonathan Watt
On 6/30/05, Holger Will [EMAIL PROTECTED] wrote: Jonathan Watt schrieb: So you can do all types of cross-document scripting in Firefox, but just in a different (i.e. W3C standard) way. I've put up heavily commented demos showing how to script from HTML to an embedded SVG document

Re: [svg-developers] Re: Problem with SVG and Javascript

2005-07-01 Thread Jonathan Watt
I would recommend that instead of removing 'document.' you make it document.getElementById('SVGdata').elements... This should work in a wider range of browsers, and is likely to continue working in future. On 6/30/05, Nicholas Lucaroni [EMAIL PROTECTED] wrote: looks decent... try removing

Re: [svg-developers] The Future of SVG

2005-06-29 Thread Jonathan Watt
On 6/29/05, Holger Will [EMAIL PROTECTED] wrote: Doug Schepers schrieb: Rick Bullotta wrote: | | I'll check it out tonight (with a beer in my hand)! Thanks | for the heads up. Is browser-SVG scripting support enabled? I'm not sure if it is enabled in the same way that it is for

Re: [svg-developers] SVG turned on in mozilla nightly builds

2005-04-27 Thread Jonathan Watt
On 4/27/05, Holger Will [EMAIL PROTECTED] wrote: Hi everyone according to http://weblogs.mozillazine.org/chase/archives/2005/04/svg_here_we_com.html SVG is now available in all nightly builds of mozilla / firefox ( at least for Win and Mac builds) thats great news, i think, and i want to

Re: [svg-developers] Help regarding evt event

2005-04-15 Thread Jonathan Watt
On 4/15/05, callyourshiva [EMAIL PROTECTED] wrote: Hi all, When i run my SVG (.svg file) in my browser it's running fine. when i load the same file on to Citrix machine and some other machines it's giving an Jscript error:evt is undefined.Please let me know why it is

Re: [svg-developers] Re: Help regarding evt event

2005-04-15 Thread Jonathan Watt
On 4/15/05, welkerpaul [EMAIL PROTECTED] wrote: --- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] wrote: I think in ASV3 evt was a global object, but that in ASV6 this has been fixed. I'm not sure if that's correct or not since I haven't got round to testing

Re: [svg-developers] Re: Help regarding evt event

2005-04-15 Thread Jonathan Watt
Thanks Kerry, I appreciate you saying so. :-) On 4/15/05, Kerry Coffin [EMAIL PROTECTED] wrote: Jonathan, You are not arrogant at all. You're comments and advice are worth reading. Keep them coming. Kerry - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit

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

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

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.

Re: [svg-developers] Re: HTML to SVG communication

2005-04-08 Thread Jonathan Watt
On Apr 8, 2005 9:47 AM, Holger Will [EMAIL PROTECTED] wrote: unfortunately that won't work. With the current Adobe SVG viewer and web browsers you can only use Internet-Explorer to do such things. since 2005-03-23 mozillaSVG implements the getSVGDocument() method on html embed

Re: [svg-developers] DTD declaration, was:Re: google and SVG

2005-03-30 Thread Jonathan Watt
On Wed, 30 Mar 2005 15:53:40 +0200, Robin Berjon [EMAIL PROTECTED] wrote: [sorry if you get this twice, email problems being solved...] Andreas Neumann wrote: The DOCTYPE is totally irrelevant well, but the DTD is necessary to validate the SVG. If you use a XML validator you have to

Re: [svg-developers] Old Viewer SVG 3.01 with mozilla

2005-03-16 Thread Jonathan Watt
If the builds you are using have native SVG support, then the plug-in will be ignored. It sounds like this may be the case, and that you're experiencing the problem described here: http://www.mozilla.org/projects/svg/faq.html#source I've got to ask though, why aren't you using Mozilla 1.7.5?

Re: [svg-developers] controls of HTML

2005-03-16 Thread Jonathan Watt
On Tue, 15 Mar 2005 00:35:47 +0100, Philippe Lhoste [EMAIL PROTECTED] wrote: MARCIO RIBEIRO wrote: Personal good night... I am finding very good to study SVG and he/she would like to know if it is possible to use controls of HTML in SVG. Example. Form, Input text, textarea,

Re: [svg-developers] Re: Cannot get Firefox w/ Native SVG to work

2005-02-24 Thread Jonathan Watt
On Wed, 23 Feb 2005 17:07:20 -, Jan [EMAIL PROTECTED] wrote: --- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] wrote: - first, since Feb 21, they introduce an option to enable/disable SVG and it is disable by default (check http://weblogs.mozillazine.org

Re: [svg-developers] General web svg architecture

2005-02-18 Thread Jonathan Watt
On Fri, 18 Feb 2005 23:17:26 -, Jan [EMAIL PROTECTED] wrote: I'm developing a web site using svg, php, Javascript, and html. It is a traffic map application that has layer controls, zooming, panning, etc. The svg for the map is generated by php code and then displayed and is

Re: [svg-developers] Mozilla/Firefox Issue, Please Help

2005-02-09 Thread Jonathan Watt
On Tue, 08 Feb 2005 18:19:17 -, academyhtml [EMAIL PROTECTED] wrote: Hi, I'm using an embed along with a getsvgdocument() to access SVG elements from an HTML file (see below). embed name=svgFile1... (in the html) svgdoc = svgFile1.getSVGDocument(); (in the js) This doesn't work

Re: [svg-developers] Re: Mozilla/Firefox Issue, Please Help

2005-02-09 Thread Jonathan Watt
in the html through FF/Moz then? --- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] wrote: On Tue, 08 Feb 2005 22:04:34 -, academyhtml [EMAIL PROTECTED] wrote: Would somebody be able to provide an example of what was suggested previously within the framework

Re: [svg-developers] Re: Mozilla/Firefox Issue, Please Help

2005-02-09 Thread Jonathan Watt
That shouldn't be too difficult to do, but I'd be interested nonetheless. On Wed, 09 Feb 2005 13:15:02 -0700, Rerun [EMAIL PROTECTED] wrote: I have a php solution that works for both IE and Mozilla if anyone is interested. It only requires one HTML/XHTML doc. They are the same, but I

Re: [svg-developers] Re: Mozilla/Firefox Issue, Please Help

2005-02-09 Thread Jonathan Watt
On Wed, 09 Feb 2005 04:20:12 -, tcorbet [EMAIL PROTECTED] wrote: --- In svg-developers@yahoogroups.com, academyhtml [EMAIL PROTECTED] wrote: Would somebody be able to provide an example of what was suggested previously within the framework of the code I posted earlier: embed

Re: [svg-developers] Mozilla getStyle GetStyleData JavaScript etc

2005-02-08 Thread Jonathan Watt
When using html:object in Mozilla you *can* access the SVGDocument object by using the HTMLObjectElement.contentDocument attribute. http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-9893177 If you need to access the 'window' of the SVG document from a script in the HTML document you can

Re: [svg-developers] Mozilla getStyle GetStyleData JavaScript etc

2005-02-05 Thread Jonathan Watt
On Sat, 05 Feb 2005 01:35:03 -, couloir007 [EMAIL PROTECTED] wrote: The Code below apparently is an Adobe specific way of setting fill color. I believe GetStyleData would be the Mozilla equivalent. Not sure though since I can't get it to work. Does anyone know how to do this in

  1   2   >