Hi,

Anyone intersted in using zoom and pan for svg files under Firefox 
is invited to try, modify  and use the file  
http://alzt.tau.ac.il/~dagan/tools/panZoom.svg

Here are some details:
The file 
http://jwatt.org/svg/tests/zoom-and-pan-controlsViewBox.svg
of Jonathan Watt was used as a starting point. Since the file did 
not satisfy in full the zooming and paning requirements, the file 
was modified by the aid of getScreenCTM() and the "onresize" event 
handler, not supported by ASV. In addition the "onzoom" 
and "onscroll" event handlers were omited, and a couple of 
controls, for original view (canceling the zoom and pan) and for 
showing the centre of the zoom, were added. All the controls 
remain on focus, even if the viewport is resized.

Please let me know about any bugs.
Enjoy, Samy





-----
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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