Re: [svg-developers] zoom-in with mouseclick
- I am doing the same thing in my project. I am writing
a function onClickZoom() and I am using <animate
attributeName="viewBox" ....> function and changing
the viewbox values according to the requirments and it
sworking pretty fine.... I don't know whether this is
the problem you are referrring to...
--- Mayi <mayi4u_2000@...> wrote: > Hello,
> I'm a newbie to SVG & XML! I'm trying to override
> the zoomin
> functionality provided by Adobe's SVG viewer and use
> just a
> mouseclick (click a button, then click the map) to
> zoom. I have
> written a ZoomOnClick function (reused somebody's
> code) that I put
> into my map.svg file. I've changed
> onzoom="onSVGZoom()" to
> onZoom="ZoomOnClick(evt)". This doesn't seem to work
> however. What
> other changes do I need to make (e.g. adding an
> onClick event when
> the zoomin symbol is clicked) to get this working ?
> Any pointers
> would be really appreciated!
> Thanks very much,
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts