I want the SVG to move as I drag the mouse, similar to the Adobe viewer 
pan tool, but I want the svg to be clipped at the viewbox edges until  
the mouseup event.  The adobe viewer clips around the edges until mouse 
up, making it very fast when moving the SVG around.

[EMAIL PROTECTED] wrote:

>You asked how to keep it from refreshing svg until mouse up event.  The
>svg doesn't change anything on its own, you do it in script.  If you
>don't want anything to change until mouse up, then do your modifications
>to the SVG on the mouseup event.
>
>It sounds like maybe your doing a click and drag method of panning.  Why
>don't you just store the clientx/clienty in a variable on mousedown, and
>hold them there until mouse up, then you can calculate the distance
>dragged and update your svg onmouseup event.
>
>--KG
>
>-----Original Message-----
>From: Rerun [mailto:[EMAIL PROTECTED] 
>Sent: Friday, February 25, 2005 2:09 PM
>To: svg-developers@yahoogroups.com
>Subject: [svg-developers] Panning
>
>
>Maybe I should rephrase my question.  Is there a way to freeze the SVG 
>while my home-made panning tool is panning, similar to what the Adobe 
>viewer pan tool doese?  For large SVG content, panning can be slow 
>otherwise.  Thanks.
>
>
>
>-----
>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 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/
 



Reply via email to