Re: [svg-developers] panning a group of elements

2005-07-11 Thread Peter Thompson
You can pan or zoom any element or group of elements. You can use something like this in you Up() function, which I assume is event driven, to pan the group of objects in the y direction: obj=SVGDoc.getElementById(to-be-updated); obj.setAttribute('transform','translate(0,' + change + ')';

[svg-developers] panning a group of elements

2005-07-10 Thread br_alsa
Hello the svg file below has a javascript functions that allow users to zoom two circles at the same time by clicking on (-) and (+) this works fine for me , but their is anther function called Up (),this function can pan one object at a time for example if we give one of the circles below an