[svg-developers] Firefox 3 and inlined SVG

2008-06-26 Thread lpmlabs9
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

[svg-developers] VML Version of SVG Work

2007-01-16 Thread lpmlabs9
The decision by Adobe to pull support for their plugin is causing concern by current and potential clients of SVG-based components that I have built. Before I began using SVG a number of years back, I built a few samples with VML. Now I must give an estimate on the effort to support VML as

[svg-developers] Re: arc and markers

2006-07-13 Thread lpmlabs9
This is EXACTLY what I needed ! Thanks very much for the assistance; bonus points for the nice working example. Larry Try arc.getPointAtLength .. See an example at http://srufaculty.sru.edu/david.dailey/svg/curve.svg It uses beziers instead of arcs, but it oughta be roughly the same

[svg-developers] arc and markers

2006-07-12 Thread lpmlabs9
I need to render multiple lines between the same 2 points. I have the logic to produce arcs to avoid the overlaps. Now, however, I need to add a marker per line showing direction at the midpoint. I have a nice arrow marker defined and it works fine for marker-end. But for the life of me, I

[svg-developers] Re: Creating new elements in inlined SVG within IE

2006-05-02 Thread lpmlabs9
Instead of using an embed or object tag, I'm looking at inlining the SVG in the page. While events such as onlick, onmousedown, oncontextmenu, etc can only be defined at the root (which I can deal with), what I'm stuck on is how to create new elements. I've used createElement and

[svg-developers] Re: Creating new elements in inlined SVG within IE

2006-05-02 Thread lpmlabs9
With the embed vs object question that continues to surface, why isn't inlining ever proposed? Larry I think because inline SVG in IE requires HTML while inline SVG in Firefox/Opera/WebKit requires XHTML. Plus, all of your SVG must be prefixed, which makes markup more frustrating to

[svg-developers] Re: Creating new elements in inlined SVG within IE

2006-05-02 Thread lpmlabs9
With the embed vs object question that continues to surface, why isn't inlining ever proposed? With IE and Adobe SVG viewer, if you inline the SVG then you lose interactivity, that is script event handlers in the SVG do not fire. Actually they do but only if defined at the root

[svg-developers] Re: Creating new elements in inlined SVG within IE

2006-05-02 Thread lpmlabs9
Actually they do but only if defined at the root level. I'm intrigued; can you point me to an example? Try this. In my case by adding some logic to locate the SVG objects based on the coords of the event, I then can perform whatever actions are necessary - drag, select, ... but

[svg-developers] Creating new elements in inlined SVG within IE

2006-05-01 Thread lpmlabs9
Instead of using an embed or object tag, I'm looking at inlining the SVG in the page. While events such as onlick, onmousedown, oncontextmenu, etc can only be defined at the root (which I can deal with), what I'm stuck on is how to create new elements. I've used createElement and appendChild