Relative Content

Tag Archive for javascripthtmlsvg

Jerky SVG Movement

The question IS: What is causing the event.offsetX & event.offsetY to SOMETIMES have a value +/-10 than what they should be. Things I have observed that affect this are:

Html button to create SVG shapes on screen

I’m doing an assignment that asks for buttons that generate SVG shapes. I can get a single shape from a button by calling a Javascript function. But then it doesn’t spawn any more.