this is where nested svg elements are useful. You can put the elements you want to be zoomable in a nested svg and change the viewBox attribute on that nested svg.
Here is an example where we use nested svg elements to zoom in a map while the surrounding GUI stays constant: http://www.carto.net/papers/svg/navigationTools/ (documentation) and http://www.carto.net/papers/svg/navigationTools/index.svg (example) Alternatively, you could play with the transform attribute and only apply it to the elements you want to zoom in. Andreas --- In [email protected], "achio_84" <[EMAIL PROTECTED]> wrote: > > Hi all, > I have a question regarding the zoom in and zoom out function of svg. > I want to zoom in a specific element only on user click event. Is there > any way to do that? I dont wanna zoom in the whole document, but only a > specific element. > Thanks. > > Regards, > achio. > ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

