Re: [svg-developers] use and xlink:href on IE
* al_i_bi_bi wrote: I try to use an use tag with an xlink:href to an external SVG ... (e.g. : use x=-10 y=-10 width=640 height=570 xlink:href=img/deco.svg#Calque_1 /) This work with Chrome, FF, Opera, both on Mac et PC ... but don't work with IE (10 in my case) Is it normal or i've done something wrong ? We would have to see a small but complete example so we could reproduce the problem, but if those free all agree on something, it's a fair bet that the problem isn't your code but lack of support for a feature where your code does not work as expected. -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Hiding SVG Elements in #document
* srcard wrote: I've exported some HTML / SVG from Visio. I'd like to hide some elements within it. The problem is that I'm unable to use jQuery selectors to get access to any of the SVG elements - it appears to be due to the #document. How can I get access to elements that are within the following, please? body object width=100% height=100% id=SVGViewer1 data=svg_1.svg type=image/svg+xml viewastext= #document This looks like copied and pasted from some kind of document tree viewer as one may find them in some debuggers and development environments. I'd imagine `#document` is used as a placeholder for the embedded image, and the image is not in fact inline SVG code. The object element uses the HTMLObjectElement interface, see e.g. https://developer.mozilla.org/en-US/docs/DOM/HTMLObjectElement and the `contentWindow` and `contentDocument` attributes are what you are looking for. For my personal homepage I found some time ago that it is better to use `iframe` though, if you want it to work across many browsers, so you may have to try that instead. -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] External SVG file in an SVG
* al_i_bi_bi wrote: use id=aaa x=0 y=0 xlink:href=img/carte.svg#Calque_1 / [...] It works very well with Safari and Firefox, but not with IE or Chrome That probably depends a bit on what `Calque_1` is (is it a shape like rect or a view element or...), but you probably have to use image instead, if that is an option for your use case. -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Point at N distance along a path?
* Colin wrote: Is there any way to calculate or obtain this? I mean something like: var path = document.getElementById(mypath); var coord = path.pointAtDistance(20px); See `getPointAtLength` in http://www.w3.org/TR/SVG11/paths.html. -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: SV: SV: SV: [svg-developers] Websocket Discussion Group
* Roger F. Gay wrote: But up to version 8 there were security problems. What infrastructure? The standard isn't even final yet. I think anyone who was building their one infrastructure in advance of the standard would be aware that the websocket standard is not final and the need to update to the final standard. The document has been submitted to the RFC Editor for publication. There might be typographical corrections before it is published but it's final for all technical and procedural purposes. -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: SV: AW: [svg-developers] IE10
* Roger F. Gay wrote: The link took me to a German site. I did a suche and found Zum Download for IE 10. But the accompanying text says it's only for Windows 7 or 8. I'm running Vista. Anyone tried it with that? As I understand it, Microsoft does not intend to make any version or preview of Internet Explorer 10 available to Vista and Server 2008 users. -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] IE10
* David Dailey wrote: So far as I can tell, though, one can't just do that unless one is running Windows 8 and/or is a member of some sort of special Microsoft development network. Is this characterization accurate? I have been and am a member of various special Microsoft networks, but as far as I am aware, the latest preview comes only in form of the Win- dows 8 preview. You should be able to install that into a virtual ma- chine though, you do not have to run it in place of your current system. VirtualBox 4.1.2 for instance is reported as supporting the preview. -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Funny error with getBBox() in Firefox
* David Dailey wrote: It works in Chrome, Safari, Opera, IE, ASV; not in FF. The error console gives what looks like a Bounding box error, but the thing I'm trying to measure is a path and it has a nontrivial (and proper) value for its d attribute, based on placing an alert just prior to the Bbox thing The getBBox implementation in Firefox throws an exception when you call it on elements that are not rendered by design for all I can tell, see http://mxr.mozilla.org/mozilla-central/source/content/svg/content/src/nsSVGGraphicElement.cpp#98 You would have to find a way to hide the elements while making Firefox think they are not hidden. -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Accurate thumbnails
* matthias_moran wrote: I've looked at ImageMagik which can use librsvg to do it but how accurate is it ? Wikimedia uses rsvg to make thumbnails on Wikipedia and Commons, so you can look there to get an idea. Is it necessary to somehow build a javascript engine into the server to run all the scripts before generating the thumbnails ? Or do people not (yet) do this kind of thing with scripts in svg documents ? Batik supports JavaScript, so if you have dynamically generated content you may have to use that. My http://cutycapt.sf.net/ can turn SVG into PNG and other formats aswell, and it supports JavaScript. IECapt should do the same if you have IE9 installed, but it does not seem to work with SVG right now, probably some rendering-mode setting I have to set... -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Accurate thumbnails
* Bjoern Hoehrmann wrote: Batik supports JavaScript, so if you have dynamically generated content you may have to use that. My http://cutycapt.sf.net/ can turn SVG into PNG and other formats aswell, and it supports JavaScript. IECapt should do the same if you have IE9 installed, but it does not seem to work with SVG right now, probably some rendering-mode setting I have to set... And apparently can't set through anything but the registry. Running % REG ADD HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\ FeatureControl\FEATURE_BROWSER_EMULATION /v iecapt.exe /f /t REG_DWORD /d 9000 will run IECapt in a mode similar to IE9's default configuration, so it can capture sites like my homepage with SVG content correctly (well the font seems a bit too big, not sure why that is) but capturing SVG images directly without some HTML container would require some work. I fixed a bug in the source code repository so it does not crash loading them di- rectly anymore (IE apparently violates COM rules, with methods returning codes indicating success even though the call actuall failed, which I've not been made beware of so far) but I am not sure how I would get good size information to make images the right size... -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: No Keyboard Events
* Jacob Beard wrote: Third, in your example, is it really necessary to prefix ecmascript to the callback function name? My understanding is that, as opposed to clicking a link with an ecmascript or javascript URI handler, the string contents of on* attributes will simply be evaled in the global scope. If that's the case, then your example might actually fail with a syntax error. The string is a goto label that you can use in combination with continue and break to break out of nested loops. It will not lead to errors, but it is also not interpreted, example: not different from ecmascript:. The contentScriptType attribute on the nearest ancestor-or-self svg is used to specify the scripting language for event handler attributes. -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: CfC: SVG Compatibility Chart and Checker
* Bjoern Hoehrmann wrote: http://qa-dev.w3.org/~bjoern/svgcc/ is a quick tool that analyzes SVG documents and generates a report that shows which parts of the document are not supported by certain profiles. The interface is unlikely to work correctly in any browser, but pre-release versions of Opera9 and Firefox 2.x might give reasonable approximations. Profiles currently included are SVG 1.1(http://qa-dev.w3.org/~bjoern/svgcc/full11.profile.gz) [...] http://qa-dev.w3.org/~bjoern/svgcc/chart.html.gz has the complete data, in a form that should work reasonably well across browsers. The data is available in a custom XML format, see the URLs above. The data is losely derived from vendor information and includes errors. The tool has been broken for a while, but talking about the sorry state of tools and documentation to check which browsers versions support new and old CSS features, I fixed the issue and the tool works again. With most of the data out of date it's of course not very useful currently. (On a random note, when I made the tool five years ago it uncovered a table rendering bug in Opera which I reported to them. The bug is still there in Opera 11.01 and most likely the very latest version aswell. I am very pleased though how fast browsers are now, the other day I made http://www.websitedev.de/temp/random-01.svg which has a rectangle with a gradient fill. Both Opera and Firefox max out the CPU and render one or maybe two frames per second. Well, Internet Explorer 9 at least can render http://www.websitedev.de/temp/overlapping-gradients.svg okayish even when zooming in, so maybe something does have improved after all.) -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Create SVG maps from geonames data
* Pranav Lal wrote: Are there any programs that convert data from http://www.geonames.org to SVG maps? I could write one but I do not want to duplicate work that someone has done already. As far as I am aware, geonames provides no shape information but point information. You generally cannot make maps from points, so I am not sure what you are looking for exactly. Perhaps you could elaborate? -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: obscure things like path d=m0..0.1 2/
* t...@ymail.com wrote: That's clear, that's the only possible interpretation. I only wanted to know whether this is covered by the EBNF description found in the specs. It is. -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] character to path data in SVG
* ddailey wrote: I just can't remember. I seem to recall a DOM interface or function in SVG that takes as input a character (i.e., a text string of length one) rendered in a given font-family and returns the path coordinates of the outline of that object. (something like w.toPath(ariel, 100) -- 0,0 50,100 100,0 150,100 200,0 200,5 150,105, 100,5 50,105 0,5 z Certainly we can get its bounding box, and certainly there are utilities in Inkscape and Illustrator to do that, but how about in plain old SVG with JavaScript? I would like to make some pseudo-random distortions to a typeface but can't remember the command, if there ever was one. There is no such function in SVG 1.1 or SVG Tiny 1.2. Also note that a glyph is not necessarily a single path, with SVG fonts you can have more or less arbitrary content to make up a glyph. -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Did i miss a reason that can cause an SVG file to not result in an image?
* John Delacour wrote: A couple of weeks ago, having discovered some time ago that I could include spaces in ids and get no complaints from browsers, I went to validate a file at W3 and discovered that this is not legal and I must separate words with underlines rather than spaces. No great inconvenience but I'm not sure why spaces in ids should be frowned upon. Can anybody exaplain? It is sometimes useful to specify lists of IDs. To do that, you'll generally need a separator character. It follows that either you'd have to disallow this separator character in IDs, or you have to come up with some escaping mechanism for it. Escaping rules tend to make parsing harder and are often misunderstood, so it's usually better to use a separator character. White space is generally a good choice for that, because considering white space part of identifiers often conflicts with other assumptions about white space, e.g. Is id=' x ' the same as id='x'? Is id='x y' the same as id='x y'? Is id='x y' the same as id='x y'? These questions immediately go away if you disallow white space, and you are then free to use white space for other purpose, as above. -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:svg-developers-dig...@yahoogroups.com mailto:svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] How to convert TTF Fonts to SVG
* caio ariede wrote: I'm starting with SVG and trying to convert an TTF font to SVG. I converted it with ttf2svg tool, but it not appears correct. The font converted is: http://caioariede.com/svg/testesvg/myfont.svg That only includes the digits 0-9, not any letters. There may be other problems aswell, but that's the most obvious. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Slow updates with setTextcontent
* Minimoi wrote: In order to do this, i got a bunch of SVGOMTextElement with ids and I just use a loop in my java code to change the content of the element. Java Code : // I take the text node in a list SVGOMTextElement elt2 = ((SVGOMTextElement) elt); //I'll update the first child SVGOMTSpanElement span = (SVGOMTSpanElement)elt2.getFirstChild(); //Setting the new value elt2.setTextContent(test); Generally speaking, the batik-users list would be better for Batik specific questions, you should use setNodeValue() which is a much simpler method than setTextContent, and if you do multiple updates before you need to have the rendering updated, consider using the *Redraw methods to suspend and resume screen updates. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: newbie scripted animation problem
* cwflamont wrote: timer = setInterval((angle = rotation(angle)), 150); timer = setInterval(function(){ (angle = rotation(angle)) }, 150); Thanks very much Bjoern, that works perfectly (although I do not understand why it needs to be done that way): Then let's assume rotate is defined like so: function rotate(angle) { return 777; } Then we can take timer = setInterval((angle = rotation(angle)), 150); and as first step evaluate the function call and get timer = setInterval((angle = 777), 150); The inner expression is evaluated before calling setInterval, and assignment expressions evaluate to the assigned value, that's 777: timer = setInterval(777, 150); Parameter expressions are always evaluated before calling functions, the script interpreter does not automatically create code references, you have to do that yourself. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] transform compact but complex SVG to verbose but simple SVG
* Stefaan_Nachtergaele wrote: The transform should result in equivalent SVG, in that, it's rendered image will be exactly the same. That is quite difficult, usually you will at least lose some precision. My http://cutycapt.sourceforge.net/ will do this to some extent, just let it load an SVG and save to SVG. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] [ANN] CutyCapt converts HTML + CSS to SVG
Hi, Ruud's foreignObject posting reminded me to announce this here, my new CutyCapt utility http://cutycapt.sourceforge.net/ converts HTML+CSS (and more) to SVG images (and many other formats). It is based on Qt and Web- Kit, a sample SVG image can be found on the homepage. The C++ version of my IECapt utility http://iecapt.sourceforge.net/ now also has EMF vector graphic output, but so far the only usable converter to SVG that I could find is OpenOffice Draw, and Internet Explorer does not always generate good EMF graphics; in most things CutyCapt is more advanced than IECapt, in addition to being available for many platforms. You can also use either tool to convert SVG images into other formats; in case of IECapt a SVG plugin is required and you have to use --delay with a suitable value to have it wait for the plugin to finish loading, and unlike with CutyCapt, vector graphics are rendered as bitmap into the output. regards, -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Another Cross-browser Compatibility Question
* cwflamont wrote: Should Opera do this?: http://www.gateho.nildram.co.uk/temp/graphics/SVG/svg_circle_object_onload_debug.html Surely the colour should change before the final alert appears? I was quite surprised to have Safari work 'out of the box' on my last experiment, but with this file it seems not to want to do as other browsers. I wanted to look at this, but you are using many alert calls. I'm afraid browsers tend to behave in all sorts of strange ways when alert is used, it would help if you could use a different method for tracing and debug statements. I heard some people like http://en.wikipedia.org/wiki/Log4js -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] please test SVG filters on any HTML page with Opera 9.5x (URLs inside)
* steltenpower wrote: Do you get a 'Opera goes green' version of the Opera page when clicking [...] Works for me in Opera but not in IE6+ASV6. I would recommend to add an http://www.websitedev.de/temp/nautilus-flame-fractal-hue-rot.svg some animation to it. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Firefox 3 and inlined SVG
* lpmlabs9 wrote: Just a word of warning to others, the following syntax div id=foosvg ... along with javascript calls var container = document.getElementById(divId); var svg = container.getElementsByTagName(svg)[0]; worked in Firefox 2 (and IE as well with ASV plugin). However in Firefox 3, the following is necessary (but fails in FF2) var container = document.getElementById(divId); var svg = container.getElementsByTagName(svg:svg)[0]; Hope this helps others if suddenly your pages stop working as mine did. Please see http://jwatt.org/svg/authoring/#namespace-aware-methods. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Discrete animation
* prem_2324 wrote: I checked the below example with Opera and found that the for each interval the circle with Discrete reaches end at different time. With values=50;150;250;350;450 dur=10 i assume that the circle moves from 50-150 in 2.5s seconds and 150-250 in 2.5s-5 s and 250- 350 in 5s-7.5 s and 350-450 in 7.5s-10s. But the SMIL specification says that the duration has to be divided into half for each interval( and that too doesnt happen in Opera). I do not quite follow you here. If you look at the SMIL specification: For discrete animation, with no keyTimes attribute, the duration is divided into n equal time periods, one per value. You have five values so you get five time periods of two seconds each. I searched through it looking for half but no instance suggests what you say above. It is useful by the way to add code like text font-size='20' x='100' y='300' id='x'0.0/text script setInterval(function(){ document.getElementById('x').firstChild.nodeValue = document.documentElement.getCurrentTime().toFixed(2); }, 100); /script To examples with timing. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] compressed external js with FF3?
* André M. Winter - Carto.net wrote: is there a way of linking a compressed javascript file into an svg document that way under Firefox3? script type=text/ecmascript xlink:href=compressedData.js / or do i have to tell someting more to the browser? file is compressed and should also work locally if possible). You have to tell the browser that it's compressed, the only method Firefox supports is by setting the Content-Encoding header properly on the web server (sometimes it's sufficient to call the file e.g. example.js.gz). Making it work locally requires different methods, if that is possible at all. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Sliverlight antitrust
* Barend Köbben wrote: could you fo the non-US legal types among us please translate ;-) - what is 'the antitrust consideration' ? - How and why can it be 'extended' ? http://en.wikipedia.org/wiki/United_States_v._Microsoft#Settlement http://en.wikipedia.org/wiki/United_States_antitrust_law - What is the 'US DOJ' ? http://en.wikipedia.org/wiki/United_States_Department_of_Justice - what is an 'amicus brief' ? http://en.wikipedia.org/wiki/Amicus_brief -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Marker Element clarification
* Tonny Kohar wrote: Could someone especially from W3C SVG Workgroup could clarify or explain the following regarding Marker Element: The [EMAIL PROTECTED] mailing list would be a better place to request clarification from the W3C. - What is allowable content for Marker ? The SVG 1.1 DTD defines the content model like so: !ELEMENT %SVG.marker.qname; %SVG.marker.content; which expands to: !ELEMENT marker (desc | title | metadata | animate | set | animateMotion | animateColor | animateTransform | svg | g | defs | symbol | use | switch | image | style | path | rect | circle | line | ellipse | polyline | polygon | text | altGlyphDef | marker | color-profile | linearGradient | radialGradient | pattern | clipPath | mask | filter | cursor | a | view | script | font | font-face)* There may be further constraints, though the immediate part of the specification does not call them out. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] declarative animation keyboard events: end=charCode(32)
* ~:'' wrote: declarative animation keyboard events: end=charCode(32) There is http://www.w3.org/TR/SVG11/animate.html#AccessKeyValueSyntax. Unfortunately the SVG and SYMM Working Group had three different ways to specify this, some of them mutually exclusive and underdefined, so I'm not sure how well this might work in current implementations. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Rendering SVG from aspx page
* kristianpalm wrote: This works fine i FF and Opera but i IE6 i see nothing and when i try to view the sourcecode i get an alert that the XML-sourcefile is not aviable for viewing. This sounds like you have not installed a plugin to handle SVG content such as the obsolete Corel plugin and out-of-service Adobe plugin. IE6 does not natively support SVG. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Scaling and Centering a SVG document
* vanjurs wrote: I have an SVG window on my screen that allows 800 x 600 viewing area. Could you clarify what you consider an SVG window? You can set various attributes on the svg element, like viewBox, preserveAspectRatio, and width, to control the sizing of the image; you can set them so that the image will be scaled to fit the viewing area, for example, see http://www.w3.org/TR/SVG11/struct.html#SVGElement for the details. There is no need to use scripting for this purpose, un- less for some restrictions imposed by your SVG window. Also, how do I center an SVG image in the viewing window? http://www.w3.org/TR/SVG11/coords.html#PreserveAspectRatioAttribute is perhaps what you are looking for, though I am not sure what it means to center the image in the viewing window, in this context. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Using srcElement with SVG elements
* sirlemmingviii wrote: I'm being driven up the wall here trying to script something using the srcElement property of an event. Everything I read about javascript/ecmascript in general says I should be able to use something along the lines of event.srcElement.id to grab the id of whichever element caused the event. But whenever I do try to give srcElement a property such as id or type or src or just about anything, I get a null or not an object error. You are looking for event.target; event.srcElement is not part of the DOM Events standard, see http://www.w3.org/TR/DOM-Level-2-Events/. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] the a tag in Firefox
* sirlemmingviii wrote: XML Parsing Error: prefix not bound to a namespace See http://jwatt.org/svg/authoring/#namespace-binding. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] removing without removeChild works?
* André M. Winter - Carto.net wrote: i am just wondering if this code to bring a clicked element to the top of its container group is correct: onclick=evt.target.parentNode.appendChild(evt.target) FF and ASV3 do what they are told, but is a previous removeChild() really obsolete? If you mean unnecessary or superfluous, then yes. See the DOM spec, http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-184E7107. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] onresize event-listener in FF2/3
* André M. Winter - Carto.net wrote: onresize works fine in MSIE/ASV and Opera but Firefox ignores it for v2 and v3a2 (but it works there for html-content).is this a bug or a feature, viz is there another event-listener for FF? It would be good if you don't start new threads by responding to other threads (you are responding to both JavaScript programming tips and XBrowser (IV) Opera9 works! ( Evil clipping [bug?] ) neither of which is related to your issue). As for the issue, I am not sure how you are listening to the event. Do you use the attribute, or do you use add- EventListener with 'SVGResize', or addEventListener with 'resize'? If none of those methods work, then that's a bug. If the attribute works but addEventListener does not, then that's a well-known bug. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] onresize event-listener in FF2/3
* André M. Winter - Carto.net wrote: It would be good if you don't start new threads by responding to other threads (you are responding to both JavaScript programming tips and XBrowser (IV) Opera9 works! ( Evil clipping [bug?] ) neither of which is related to your issue). i don't understand what you mean here. what threads are you talking about? The e-mail message you sent to the list contained these headers: References: [EMAIL PROTECTED] [EMAIL PROTECTED] In-Reply-To: [EMAIL PROTECTED] This says your message is a follow-up to the message identified by the longer message-id, which in turn was a follow-up to the message with the shorter message-id. However, your message was not actually related to either of these messages. I presume you have used the Reply-to function of your mail client to draft your message, changed the subject and re- moved any quotations. I am asking you to, instead, use the New Mail feature of your client. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] SVG on Dual Core Machines ?
* Harvey Rayner wrote: it seems to be creating a different problem. can i not put # in a php url? You have to escape it using escapeURIComponent or other method so it comes out as %23. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] audio in svg
* rui.ramalho wrote: I wonder if there is anny audio support within svg, its possible to analyse the sound? making a graph of a sound wave? making a equalizer, volume control? No, the closest you could get is decoding the audio data using script, analyze it as you see fit, and then, if you are lucky and the viewer you are using supports some form of audio, either let it play back the data, or re-encode the data and let it play back that instead. Theoretically you could do that in chunks, but most likely implementations will be too poor to do that. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Additive animation using 'by' attribute in animationTransform doesn't work?
* clog_meister wrote: Problem: I want to continue an animationTransform from the y position it was 'frozen' to. The object is moved by 50 pixels along the y-axis (that works). After it stops I want it to go back 20 pixels along the y-axis from where it ended up (that doesn't work as expected). However, the effect is that the object is repainted at its original position and then goes back 20 pixels. So use two animations like svg xmlns='http://www.w3.org/2000/svg' rect width=100 height=100 animateTransform attributeName='transform' type='translate' by='0,50' dur='2s' id='a' fill='freeze' / animateTransform attributeName='transform' type='translate' by='0,-20' dur='2s' begin='a.end' fill='freeze' additive=sum / /rect /svg A certain broken implementation insists on the additive=sum here, perhaps that was your problem. I read a lot of material including the SVG standard and example code from Opera and many, many others. I experimented with the 'additive' and 'accumulate' attributes. I also tinkered with prev.begin, prev.end, beginElement() and endElement(). All without success. Note that prev.begin and prev.end are proprietary extensions that won't work across implementations (unless you have an id=prev somewhere). Can someone tell me how I can force animationTransform to retain the last 'freeze' position and animate from there? Or point me to a tutorial in which this behavior is explained? In code I made something like this: (note: svgO is the animated object) var animation; animation = svgO.ownerDocument.createElementNS( 'http://www.w3.org/2000/svg', 'animateTransform' ); Note that dynamically creating animation elements, especially after the document has begun, is highly problematic and does not work well across implementations. animation.setAttributeNS( null, 'by', '0, -20' ); animation.setAttributeNS( null, 'dur', 3 ); Changing animation elements after they have begun and while they are in the document tree is even more problematic. If at all possible you should use them only directly as markup. If you have to use scripting you should consider to script the animation instead of using SMIL. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Feedback on the 13 December 2006 release of SVG 1.1 and SVG Mobile Test Suite
* andrewgirow wrote: The new tests are nice however they are not SVG Tiny 1.1 compliant themselves. There are several files with the same problem: I think comments on the test suite should go to [EMAIL PROTECTED] The animated values attribute (i.e. 'values') is A semicolon-separated list of one or more values. as it defined http://www.w3.org/TR/2001/REC-smil-animation- 20010904/#ValuesAttribute and here http://www.w3.org/TR/SVG11/animate.html#ValueAttributes It is NOT a semicolon AND spaces separated list. In a row of the tests this attribute has space as a delimeter! Note that the former says Leading and trailing white space, and white space before and after semicolon separators, will be ignored so if you mean values = foo ; bar then there is nothing wrong with that. Note that a number of tests do not set atomic values but lists of values, for example, for a viewBox attribute you might use values = 0 0 100 100 ; 10 10 110 110 there is nothing wrong with that either. I could not find any test that matches your description, could you cite the file names of some of them? -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] how to know a path element heigth and width
* rui.ramalho wrote: I'd like to know if there is a way of getting a path element height and width, without testing all its coordinates. i need to know it in order to get a FULL EXTENT tool...well, i could use some ajax to ask the server, but with a lot of paths it would be expensive... getBBox() http://www.w3.org/TR/SVG11/types.html#InterfaceSVGLocatable? -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Gradient Definitions problem
* adrianbjones wrote: Otherwise, is there a way to prevent linear gradients from being defined at all. In other words, is it possible to have the gradient instructions as part of each path fill. I realize this may result in a larger file, but would avoid the problems I have described. IDs have to uniquely identify one element in a document, you either have to actually use unique ones, or you have to put them in separate documents. What you suggest above is possible though not easy to author and presumably not well-supported using the 'data' URL scheme: svg xmlns='http://www.w3.org/2000/svg' version='1.1' rect height='100' width='100' fill='url(data:image/svg+xml;base64, PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZlcnNpb249J zEuMSc+CiAgPGxpbmVhckdyYWRpZW50IGlkPSdleGFtcGxlJz4KICAgIDxzdG9wIG 9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiNGNjAiIC8+CiAgICA8c3RvcCBvZmZzZXQ 9IjEwMCUiIHN0b3AtY29sb3I9IiNGRjYiIC8+CiAgPC9saW5lYXJHcmFkaWVudD4K PC9zdmc+#example)' / /svg This should render as a rect with a orange to yellow gradient. However, I am not aware of a single SVG implementation capable of rendering this as required by the SVG 1.1 specification. So you will have to find some way to make your IDs unique. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: SVG Logo Contest
* Jeff Schiller wrote: Another question to anyone out there: I don't see any way from within JavaScript to determine the SVGScriptElement (http://www.w3.org/TR/SVG11/script.html#InterfaceSVGScriptElement) that contains the current statements being executed. That's kind of funny because in order for the script to be executing it must be included in the DOM, right? The script doesn't have any idea which DOM element contains itself. There is no way. The only possible way would be to get the last element in document order during progressive load. Since SVG 1.1 does not define the exact processing in this case, and scripts might be run at other points in time this is genuinely impossible without additional features. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] ASV End-of-life cancelled and IE 7.2 with native SVG support???
* Jim wrote: I just read that Adobe has decided to redact their decision to make the Adobe SVG Viewer go end-of-life, but I cannot find that in writing on Adobe's website. I believe this is a myth. Has anyone heard about this information or disinformation? See http://www.adobe.com/svg/eol.html and the FAQ linked from there. Also, is this disinformation or has someone heard that IE will offer native support for SVGs in IE 7.2? Microsoft does not normally introduce major new features in minor product releases. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: WPF/E Goes Beta Community preview available for download
* Andreas Neumann wrote: I guess its more powerful than VML, is it? Mostly. Does WPF/E support declarative animation? Yes. Does that WPF/E thing run in IE6 and IE7 without having to install additional software? Of course not. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] How to make the code work in Firefox2?
* Mahesh Basantani wrote: I saved the Notepad file with .svg extension. Now, when i open the file with Internet Explorer, it works well. The code executes properly. But when i try to open it with Firefox 2, it doesn't work. A window opens and asks What should Firefox do with this file? Open with ... (IE (default) or other ) or Save to disk... Could anyone suggest how to fix the problem? http://jwatt.org/svg/authoring/#namespace-binding and note that Firefox does not support the SMIL animation elements you are using. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] set xmlns per javascript
* Olaf Schnabel wrote: I have a problem concerning the generation of xmlns-attributes with Javascript in SVG group nodes. You never have to do that, unless you mean namespace prefix declarations because you need to use the prefixes in content (e.g., attribute values) which is a bit unlikely. If you are absolutely perfectly 100% certain that you need them, you have to know that these are in the http://www.w3.org/2000/xmlns/ namespace, not in no namespace or any other namespace. So in order to create a xmlns:foo=... attribute you use .setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:foo', '...'); In the case you almost never see in practise where you need to set a default namespace declaration, which then does not affect elements with no defined prefix, you use .setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns', '...'); Again, it is virtually impossible that you use some dysfunctional markup language in combination with SVG where you need this; there would have to be some content whose interpretation depends on the in-scope default namespace declaration, and its definition allow the re-definition of the namespace in weird ways. Don't even think about doing this if you are not 101% certain you absolutely must do it. This is all defined in http://www.w3.org/TR/DOM-Level-3-Core/ FWIW. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] relative element positioning
* Nazar wrote: I use DOM to add some of the elements to SVG. Currently I use element.setAttribute(x, _x); to position element absolutely. What I am interested in is how to position elements relative to its parent element ? Impossible. All you can do is determine the position of the parent and change your setAttribute call to take that into account. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] set attributeName to group?
* zedkineece wrote: I am new to SVG, and would like to know if there is a way similar to set attributeName to a group of paths. I am playing around with highilighting paths on a schematic, and I can do it for individual paths, but haven't got it working for an entire group. Could someone point me in the right direction? Generally, for styling properties, you can do g set attributeName='fill' ... / path ... / path ... / ... Otherwise it might be possible to use use. There is no other way. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] mousewheel event
* jack2wsx wrote: I have used the scrollBars.js script and I am trying to update it to work with the mousewheel but it seems to ignore the event listener. Here is the code I : sbMake() sbSync() var re = document.rootElement re.addEventListener( SVGScroll, sbSync, false ) re.addEventListener( SVGResize, sbSync, false ) re.addEventListener( SVGZoom, sbSync, false ) re.addEventListener( mousewheel, sbStartDragVS, false) The sbStartDragVS function begins with an alert(mousewheel!!) but the message never appears. I have tried variations with no success: That is probably because it does not support the, as it stands, non- standard mousewheel event or does not dispatch it the way you think it should. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Opera 9.0 for Windows released
* benamou wrote: onkeypress does not seem to work In SVG documents it certainly should not. Are there any viewers that support an onkeypress attribute? -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] What this error mean in FF?
* chmavrog wrote: Error: Error in parsing value for property 'font-size'. Declaration dropped. What does that mean? You have a font-size:xx or perhaps font-size=xx somewhere and Firefox does not like the xx. You have to either live with that or change the value to something Firefox does like. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Stopping svg animation from within javascript code
* Augusto Erzinger Jr. wrote: Is there anyone who knows how I could stop an SVG animateColor animation by a way other than direct user interaction like mousedown or click or focusin? I intend to stop the animation from within a javascript function. I thougth that I could get it by setting the DOMAttrModified to the 'end' event attribute of my animated widget, adding an event listener with parameter DOMAttrModified to it, then (at a specific moment) setting the 'fill' attribute of the widget (via setAttribute method). Well... this procedure didn't work. Use animateColor.endElement(), see http://www.w3.org/TR/SVG11/animate.html#InterfaceElementTimeControl You should generally be able to use end=... without script though. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] SVG in Firefox
* Mark C wrote: I am trying to see SVG in Firefox 1.5 on Macintosh 10.4. I am using the finder (file/open) or the Apache server (http) and I am getting nothing but the text. I tried sticking the SVG into an html page inside an img tag and that didn't work either. Am I on the wrong track here ? The SVG file I am using is static with gradients and works fine with the Adobe plug in but it doesn't work with plain Firefox. You probably didn't configure the MIME type for SVG resources in your web server configuration correctly, see http://wiki.svg.org/Server_Configuration for information on how to fix that. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Cleaning up OCAL
* Robin Berjon wrote: Most of these problems are due to the poor quality of code produced by default by most authoring tools. Chief among the problems is the constant use of the style attribute. The style attribute is totally useless. No one should *ever* use it. Including it was a mistake, and I certainly hope that it'll go away. Using Batik and http://esw.w3.org/topic/SvgTidy/SOMDump along with my old http://www.bjoernsworld.de/temp/outdated-strip-css.es converts all CSS to presentation attributes. These are outdated ad-hoc tools with known bugs, but reasonable approximations and the other parts of SVG Tidy are too unfinished... Should we coordinate with OCAL to promote content that is of higher quality and that works on mobile devices? I'd be happy to contribute a few simple rules, or else Björn's profile XSLT could be used. http://sourceforge.net/mail/?group_id=134539 has the svg-qa-devel list for discussion of SVG Tidy and related projects; which is to say the only reasonable approach to make people produce better content is to do it for them. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Good SVG progress in Opera 9
* Robin Berjon wrote: - do you have any specific plans in making some of these resources (fonts, gradients, filters, etc.) available from HTML, either as fills or as backgrounds? Again, http://lists.w3.org/Archives/Public/www-style/2004Aug/0114, that would require a proprietary extension or changes to the CSS or SVG specifications. I was going to suggest that SVG 1.2 defines that if the fragment identifier identifies a paint server, viewport-fill is set to that paint server, but viewport-fill not supporting paint servers I didn't bother... -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] SVG Textbox and other GUI Elements
* Andreas Neumann wrote: The newest widget is a textbox. Coding this object was a major pain since browsers don't support keyboard events consistently. I'd be most interested in hearing more about the problems you had, could you post your findings to the public-webapi@w3.org mailing list so the Working Group can consider them in the context of the DOM Level 3 Events specification? -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] CfC: SVG Compatibility Chart and Checker
Hi, http://qa-dev.w3.org/~bjoern/svgcc/ is a quick tool that analyzes SVG documents and generates a report that shows which parts of the document are not supported by certain profiles. The interface is unlikely to work correctly in any browser, but pre-release versions of Opera9 and Firefox 2.x might give reasonable approximations. Profiles currently included are SVG 1.1(http://qa-dev.w3.org/~bjoern/svgcc/full11.profile.gz) SVG Basic 1.1 (http://qa-dev.w3.org/~bjoern/svgcc/basic11.profile.gz) SVG Tiny 1.1 (http://qa-dev.w3.org/~bjoern/svgcc/tiny11.profile.gz) Adobe 3.x (http://qa-dev.w3.org/~bjoern/svgcc/asv3.profile.gz) Adobe 6.x Pre (http://qa-dev.w3.org/~bjoern/svgcc/asv6.profile.gz) Opera 9.0 Beta (http://qa-dev.w3.org/~bjoern/svgcc/opera9.profile.gz) Firefox 1.5(http://qa-dev.w3.org/~bjoern/svgcc/ff15.profile.gz) http://qa-dev.w3.org/~bjoern/svgcc/chart.html.gz has the complete data, in a form that should work reasonably well across browsers. The data is available in a custom XML format, see the URLs above. The data is losely derived from vendor information and includes errors. The information and tool are rather limited in their capabilities, e.g. SVG Tiny 1.1 supports the fill= attribute but not the orange color, the tool cannot find such problems. Likewise, while opacity= would be listed as not supported in SVG Tiny 1.1, set attributeName=opacity would pass the tool. These resources exist purely to encourage people to submit better pro- file data, more accurate date for current profiles and new data for other implementations. Please submit better data in the XML format as above, or as patches to the current documents. Thanks, -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: Bug in Opera 9.?
* Charles McCathieNevile wrote: I don't know if this is a bug or not but the following page http://srufaculty.sru.edu/david.dailey/svg/test3.svg makes Opera 9 crash. The page works okay in IE/ASV, if you have enough horses under the hood. It uses JavaScript to insert a bunch of animate tags into a DOM (I'm trying to overload the browser with too much SMIL and JavaScript animation to do some calibration, e.g., at http://srufaculty.sru.edu/david.dailey/svg/timer.html) I just tested it in the latest weekly build, which is available at http://my.opera.com/desktopteam and it worked fine (Macintosh, build 3345). If you're using an older build, and it crashes, it may have beeen fixed. If it is indeed an up to date build, please file a bug as Andreas said (https://bugs.opera.com/wizard is the direct URI I *think*) and let me know and I will follow it up. I filed #205042 a few minutes before David's posting with a case that does about the same thing as David describes above and it crashes build 8367 (the beta); David's cases don't crash for me, but this sounds quite related. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] SVG Help
* aossi_2000 wrote: This is the file: http://lamp2.fh-stpoelten.ac.at/~tm021084/Fortschritt/Ajax/map.svg The first problem here is that your ARCXML, etc. elements should not be in the SVG namespace; out them in an appropriate namespace, using e.g. ARCXML xmlns= ... and update the scripts accordingly. For the scripts, you use createElement to create SVG elements; don't, see http://jwatt.org/svg/authoring/#namespace-aware-methods You should also use application/xml instead of text/xml if that is possible. Not that this would necessarily solve your problems, but it would certainly make the content more portable. So I hope you can help me and sorry for my english, because I'm from Austria. Fragen zu SVG sind generell auch in der deutschen news:de.comp.text.xml ontopic, siehe z.B. http://groups.google.com/group/de.comp.text.xml oder dem lokalen Newsserver. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] svgz convertor
* ilker wrote: How do I convert my SVG document to SVGZ zipped document ? You can use any 'gzip' tool you like, http://www.gzip.org/ has one, and file managers and general purpose compression tools should support it aswell. http://en.wikipedia.org/wiki/Gzip has links to web sites that lists other tools. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Corecting Javascript for Firefox
* Richard Pearman wrote: These all work with ASV but not Firefox. That's assuming that Firefox isn't having problems with something else. Is this acceptable? : Doc.getElementById(Target).getStyle().setProperty(display, none) This would need to be .style.setProperty('display', 'none', ''). -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- Most low income homes are not online. Make a difference this holiday season! http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] PLEASE CORECT ME
* Petronel Laviniu MALUTAN - Talente.ro wrote: I have the following piece of svg whic is working perfectly without a xlink:href and with it is not working ! You must write as amp; in XML documents. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- AIDS in India: A lurking bomb. Click and help stop AIDS now. http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: Corecting Javascript for Firefox
* Jeff Schiller wrote: Perhaps you can try evt.currentTarget? That's what seems to work for me consistently across IE+ASV6, IE+ASV3, Fx1.5 and O9. Though note that target and currentTarget are quite different, target is the event target (what the event is dispatched to) and currentTarget is what the event listener is attached to, e.g., if you have a bubbling event like 'click' the event might be dispatched to a 'rect' element and the event listener might be registered on a 'g' element that contains the rect, in this case the target is the 'rect' and the currentTarget is the 'g' element. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- Most low income homes are not online. Make a difference this holiday season! http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] SVG 1.2 Audio and Events
* Jeff Schiller wrote: The media01.svg example given in http://www.w3.org/TR/2005/WD-SVGMobile12-20051207/multimedia.html#AudioElement shows how to do this for a specific button, but the audio element specifically targets a specific button. So I don't think I can use this simple method. You can use a list in the begin attribute, maybe audio begin=foo.click; bar.click; baz.click; ... will do it for you. - an audio element is considered a Timed Event: http://www.w3.org/TR/2005/WD-SVGMobile12-20051207/intro.html#TermTimedElement - a Timed Event implements the SVGAnimationElement interface: http://www.w3.org/TR/2005/WD-SVGMobile12-20051207/svgudom.html - the SVGAnimationElement interface extends the smil::ElementTimeControl - the smil::ElementTimeControl has the beginElement() method s/Timed Event/Timed Element/ but yes. So I guess I could do this: audio xml:id=audioClip1 .../ handler xml:id=buttonClicker type=application/ecmascript ev:event=ev:click var myAnimationElement = document.getElementById(audioClip1); myAnimationElement.beginElement(); /handler Note that this would register a listener on the parent of the handler element, if that's not one of your buttons this is not what you want, you should remove the ev:event attribute. And then a bunch of these: ev:listener event=ev:click observer=#button1 handler=#buttonClicker/ ev:listener event=ev:click observer=#button2 handler=#buttonClicker/ ev:listener event=ev:click observer=#button3 handler=#buttonClicker/ Yes. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] SVG 1.2 handler and ev:listener ECMAScript implementation
Hi, I made a quick implementation of the svg:handler and ev:listener elements as proposed for SVG Tiny 1.2 to the extend allowed by the not so good Working Draft http://www.w3.org/TR/SVGMobile12/script.html... A simple example would be !DOCTYPE svg [ !ATTLIST handler id ID #IMPLIED ] svg xmlns = http://www.w3.org/2000/svg; xmlns:xlink = 'http://www.w3.org/1999/xlink' xmlns:ev= http://www.w3.org/2001/xml-events; defs handler id=test evt.target.setAttributeNS(null, 'fill', 'green'); /handler /defs rect id=obs1 height=100 width=100 x=0/ a xlink:href=http://www.w3.org; rect id=obs2 height=100 width=100 x=100/ /a rect id=obs3 height=100 width=100 x=200/ ev:listener observer=#obs1 event=click handler='#test' / ev:listener observer=#obs2 event=click defaultAction='cancel' / ev:listener observer=#obs3 event=click handler='#test' / /svg This is at http://www.bjoernsworld.de/temp/xml-events-01.svg which uses http://www.bjoernsworld.de/temp/svg+xml-events.es to enable use of these elements in non-compliant SVG 1.0/1.1 viewers like Opera9, Firefox 1.5 and ASV6. In compliant viewers like Batik it won't work (unless you use only the ev:listener element). There is some code to handle mutations of the elements and the document (including listener registration during progressive download) but it turns out that there are too many problems with existing implementations and specifications that this is not really feasible, so some of the code is missing and/or not used as intended. The code also has an implementation of the DOM Level 3 Core Node method lookupNamespaceURI if you are into namespaces that might be of interest. The code is available under the GPL and might eventually end up in the SVG QA project http://sf.net/projects/svg-qa. I am not likely to main- tain this code, if you'd like to, please drop me a mail. regards, -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- AIDS in India: A lurking bomb. Click and help stop AIDS now. http://us.click.yahoo.com/VpTY2A/lzNLAA/yQLSAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Renesis asks us what to do
* Jeroen Vanattenhoven wrote: On their website, the people working on Renesis are asking us for our opinion about what to to with the viewer at this moment. As some of you know, the developers team working on the ecmascript engine left the company. They have had a lot of comments/questions about their viewer. At this moment they seem to be willing to release an alpha version of the viewer, but I'm not sure yet. Take a look at http://www.gosvg.net/?p=27#comments and tell them what you think. Noting in passing that the Renesis engine is already used in the Mazda RX-8 (with suicide half-doors!) I'd say that I don't really need another static alpha-quality SVG viewer, it's only be relevant to people with very complex SVG documents who don't much about other viewers (assuming the viewer is significantly faster than others) and people who care much about them releasing anything, whatever it is. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Adobe/Macromedia
* Doug Schepers wrote: Yes, that's good news, thanks. It's clear, though, that they did not include SVG-Full or sXBL in that continued support. Anyone heard news about EvolGraphix's SVG1.2 plugin? Well, http://www.gosvg.net/?p=26 -- Watch out for some news coming shortly before christmas here on GoSvg.net! Perhaps that's when they announce the next delay? -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] SVG Encryption: Is it possible?
* Ali G. wrote: I was reading previous messages and came across some that were talking about Protecting SVG... I was wondering if it is possible at all or not. I mean look at the fact that SVG is an open format. That means every part of the specification is well documented for everybody. So if, only if, at some point there will be a facility to encrypt SVGs then how will end-user be able to decrypt it in order to play the SVG file? if the viewer application on the end-user machine can decrypt the SVG, because of SVG openness, that means any body anywhere else can decrypt it too. Well, if you want to make a viewer application you will have to know how to turn data into what you want to present to the user. The kind of se- curity you seem concerned about is some way to ensure knowledge about how to make such a viewer application is available only to trusted parties; that's not very secure, if untrusted parties have access to one such application they could use or modify it in a way that reveals this knowledge. The main benefit here would be that you make it significantly more difficult for many people to get undesired access to the content, much like disabling the right mouse button for HTML documents so people can't use show source or save image as... functions, or securing scripts by rewriting them to use odd variable names, little white-space or some escaping method. You can't really secure digital data using purely technical means, you would have to use more social means like secrets or law enforcement for that. For encryption you'd usually use a secret (a password, a private key, ...) to protect the content. In this case anyone with access to the secret could use the content but others probably not (depending on how difficult it is to guess the secret). So the real question here would be how difficult it should be to make undesired and desired use of the content. You might want to investigate how to apply current and future DRM facilities to SVG content, that might be more worthwile than encryption. For XML Encryption you might want to take a look at http://www.w3.org/TR/xmlenc-core/. If you are just concerned about third parties publishing modified copies of your work, you might want to investigate digital signatures rather than encryption, http://www.w3.org/TR/xmldsig-core/. You can use XML DSig for your existing content and it will work in current viewers, they just don't verify the content yet, but it is not unlikely that support for such facilities becomes more widespread in the not too distand future. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] solve this issue.URGENT
* chandrasekar s wrote: wats the problem with the simple code below... why is the java script not working?? any other way to solve the purpose... svg onload=init(evt) This lacks two attributes, xmlns=http://www.w3.org/2000/svg; and version=1.1. script language=JavaScript type=text/javascript The language attribute is not allowed here, and some viewers do not support the obsolete text/javascript media type. Try the obsolete text/ecmascript media type. function init(e) { if(window.svgDocument == null) svgDocument = e.target.ownerDocument; I don't think implementations must support this manipulation of host objects. } function onmouseover(e) { window.open(http://www.yahoo.com,mywindow;); There is no 'window' property of the global object, in fact, SVG does not define what the global object might be. So there is no open() method either. } /script -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Does SVG allow relative positioning of graphical elements?
* simonshutter wrote: ie can you position elements using svg/viewbox or other element/attributes to flow elements inside an svg document? No, you'd have to use scripting to achieve that. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/1U_rlB/TM ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Including ampersand in image URL
* tpierceint wrote: g id=DOQ transform=scale(1,-1) visibility=visible image x=1443457 y=-577729 width=7049 height=4876 id=DOQImage xlink:href=http://terraservice.net/ogcmap.ashx? version=1.1.1request=GetMapLayers=doqStyles=SRS=EPSG:26918BBOX=3 67348,4344391,369529,4345829width=700height=425format=image/jpeg/ /g The full URL goes to am Image fine. When I open the SVG file though I get not well-formed on the signs. I have tried using amp; instead of but then the URL errors out saying it cannot find the elements GetMap, Styles, etc (it seems the entire string as being the version object, it needs the to mark off the elements) Do you mean if you change the to amp; and then copy and paste the address with the amp; into the browser address bar? That would not work of course. You must replace those stray by amp;, if that does not work it would not work with the literal either. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hhpcm7m/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1124145946/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: Detect native SVG support
* Mark Birbeck wrote: As to adding more and more hacks, no one doubts that you can keep adding another line of script to test for yet another permutation. But as the world of compound documents gets closer, don't you think that there needs to be a generic solution that allows for testing not just for SVG, but for MathML, XForms and so on? I recognise your criticisms of DOMImplementation, but at some point we do need it to work...or rather it needs to be made to work. I certainly agree. Such facilities aren't cheap though, you need * Very clear well-defined conformance requirements * Extensive test suites for these facilities * Strong commitment to 100% compliance * Strong and reliable means to enforce compliance At the moment, for SVG feature strings, we don't have any of that. In fact, it's probably worse, there are still many authors who do not care at all even about most basic conformance requirements like using well- formed XML; many authors still think We usually find checking with [IE, Opera and Firefox] is enough for our work. If we can't convince authors to ensure their content is conforming, there is little hope to convince implementers to code correctly. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hiiuhpk/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123020714/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] SVG Challenge Feedback!
* Alexander Adam wrote: Mike just posted a new blog entry on http://www.gosvg.net/ asking about Feedback for a SVG Challenge. We'd love to hear your feedback on that so feel free to comment on on the site.. There are two things here, compelling content and compelling content that actually works. Author's don't need prizes to create content, but they do need confidence that they don't waste much time on working around bugs and that their content will work on more than one SVG implementation, so I'd suggest EvolGrafiX sponsors creation of a reasonably complete SVG test suite that complements the various W3C test suites for the relevant technologies. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] RE: what happened to schemasoft.com?
* Alastair wrote: I do believe that Chris L. set up a spark-general mailing list though I'll have to get him to confirm this. http://sourceforge.net/mail/?group_id=134858 confirms this... -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Deciphering mark-up and that blasted g element
* sara_j_porter wrote: Could someone please look at one of my student's work to see why the file is not working correctly? Please go to this page, http://www.kokomo.tech.purdue.edu/cgt/courses/cgt216/index.html, and then look at the only link under #2 (Eric Martin). http://www.kokomo.tech.purdue.edu/cgt/courses/cgt216/not%20quite.svg I guess. Well, the most obvious errors are that many a elements do not have the required xlink:href attribute and multiple elements have the ids Arrow_Marker_End1 and Arrow_Marker_Start1, at most one element may have these ids. After the intro, the next and previous buttons don't work. It's my fault. And I have a strange feeling that I deleted or moved a g element. But I'm just at a loss due to looking at it for so long. Clicking these should probably call the bwSwitchPages() function with bwSwitchPages(buttons, next, false). The script does not work for a number of reasons, it does not really conform to the ECMAScript binding, it uses getChildNodes() which should be just childNodes and getNodeName() which should probably be nodeName. The function then looks up the g id=buttons element and iterates over its children. This does not work as intended as the g has no children which have an id so the ... child.id test fails for all of them (consequently none of the other parts of the script execute). It then seems that with these errors fixed it would look for an element with an id of buttons1 which does not exist in the document. So there is probably no easy fix for this. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] What is happening? I give up!
* skrellkolja wrote: The var node represents a unique ID, in my case the number 1. What happens is that i get the error SVGDoc.getElementById(...) is null or not an object.. This would probably make u say But, dude, be sure the elements exists. The strange thing is: if I uncomment the alert statement on the line above, it will alert true, and no error on the line beneath is produced. Note that IDs MUST NOT start with a digit. if (!checkConent(node)) createContent(..) function checkContent(n){ //alert(SVGDoc.getElementById(n _textContent_text).hasChildNodes()); return SVGDoc.getElementById(n + _textContent_text).hasChildNodes(); } The proper way to do this would be to check the getElementById return value before trying to call a method on it. For example var node = document.getElementById(...); return node node.hasChildNodes(); -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: speed too slow
* Andreas Neumann wrote: how do you display 7 points on one screen? As far as I can imagine, the screen must be cluttered all over. You've must have missed the advent of the MEGAPIXEL. Which raises a good point, will the next generation of SVG user agents support MEGAVECTORS? And will Tiny have Megavectors, too? Or do we need the Tinyvector subset of the megavector feature? I sense some of these features may be passed to the *G*I*G*A*P*I*X*E*L* shader for rendering, which finally explains the Giga Shadow in Lexx - The Dark Zone. Ha! -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] getElementById response with same id's embedded
* xi2asing wrote: I am trying to write an SVG interface whose layout is like follows. svg master element .. svg id=Child1 ... g id=Buckets ... ... /g /svg svg id=Child2 ... g id=Buckets ... ... /g /svg /svg You really should not do that, such a document is non-conforming and conforming viewers would not render anything that follows the second g element (and all animations would pause, etc) With Javascript interface, I get the correct object, which could be 'Child1' or 'Child2', but when I access 'Buckets' element as targetobj.getElementById('Buckets'), it looks like, even when targetobj is 'Child2', I would not get the Buckets in Child2, but Buckets in Child1. Is this behavior expected? This is not clear, see http://www.w3.org/mid/[EMAIL PROTECTED]. Other than making sure, I have unique id for the deepest nested object, is there a way to access only the contained particular child elements from a target object. You can walk the tree using your favourite DOM features until you find the element you desire, e.g. by checking all child nodes for the id you are looking for. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - 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: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/