-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hey everyone,
I am using Raphael js to draw circled numbers. The problem is that each number has a different width/height so using one set of coordinates to center the text isn't working. The text displays differently between IE, FF, and safari. Is there a dynamic way to find the height/width of…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Ive been trying to target iframe using Raphael JS
heres some sample code
var c = paper.circle(10, 10, 10);
c.attr({href: "http://google.com/", target: "top"});
v
var t = paper.text(250, 50, "Raphaël\nkicks\nbutt!");
t.attr({href: "http://google.com/", target: "_blank"});
Also..cant get href to…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a rather interesting issue with SVG animation.
I am animating along a circular path using Raphael
obj = canvas.circle(x, y, size);
path = canvas.circlePath(x, y, radius);
path = canvas.path(path); //generate path from path value string
obj…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a raphael.js shape which I am plotting circle's on top of. I only want a circle to appear if the circle does not go off the boundary of the shape it is being plotted on to.
To make this more clear, here is an example of what I do not want to happen:
I want the circles outside of the grey…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Does anyone know how to attach a text to a path in Raphaël? Something like http://www.w3.org/TR/SVG11/images/text/toap02.svg
I know that jQuery SVG can do that, but I can't find an easy way to do this by using Raphaël js. I want to attacht this text to a bezier curve and move it.
>>> More