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
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
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
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
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
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
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
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
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
9 matches
Mail list logo