Nikolya Patskov schrieb:

> Hello!
>
> Please say, how can I disable Zoom but unable Pan. Is it possible?


Hi Nikolya

i think this is not possible directly, but you can do this with script. 
here is a simple example:

<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg";
 xmlns:xlink="http://www.w3.org/1999/xlink"; viewBox="0 0 1024 768" 
onzoom="fix()" onscroll="storeLast()">
  <rect x="0" y="0" width="1024" height="768"/>
<script><![CDATA[
var lastX=0
var lastY=0
var zooming=0
function fix(){
zooming=1
document.documentElement.currentScale=1
document.documentElement.currentTranslate.x=lastX
document.documentElement.currentTranslate.y=lastY
}
function storeLast(evt){
if(zooming==0){
lastX=document.documentElement.currentTranslate.x
lastY=document.documentElement.currentTranslate.y
}
zooming=0
}
]]></script>
</svg>

hth
Holger


-- 
if this information was usefull, please try to help someone else !
My Private Homepage: http://www.treebuilder.de
My Companys Website: http://www.klimapartner-berlin.de



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