The point is that I would like only the onzoomfunct to be called when a user
zoom in the svg.

Benjamin

-----Original Message-----
From: Thomas DeWeese [mailto:[EMAIL PROTECTED] 
Sent: May 6, 2005 1:53 PM
To: [email protected]
Subject: Re: onzoom and onscroll

Benjamin Campin wrote:

> When using the zoomin or zoomout button to zoom in a svg document or 
> when zoomin using the ctrl+ (mouse),
> 
> both onzoomfunct and onscrollfunct are called.

> Is there a way that onscrollfunct is not called when zoom-in or zoom-out 
> in the document ?

    The zoom buttons zoom on the center of the image so there is
a scroll associated with them.  If you zoomed from the upper left
you would not get a scroll.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to