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

2005-07-11 Thread br_alsa
--- In svg-developers@yahoogroups.com, Peter Thompson [EMAIL PROTECTED] wrote: 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:

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

2005-07-11 Thread Peter Thompson
You can pan as much as you want in any direction. If you look at your code I think that you'll see that you aren't updating the translate variable correctly. Put in alert() functions to display the translate variable before and after you modify it; you'll see what I mean.