That's exactly the kind of things I want to do : I want to be able to zoom on a 
part of the svg document while the rest of the svg document remains unchanged. 
So, does this example shows there's no way to deal with the svg tools ? I mean 
I have to do (javascript code) my own zoom and pan, I cannot use the predefined 
zoomIn and zoomOut on a part of a svg document, that's right ? (I actually did 
my own zoom and pan but I was wondering if I could use the svg predefined ones 
instead...)
Thanks for your help.
Julie

Sylvain Rouillard <[EMAIL PROTECTED]> a écrit :
Le Samedi 22 Octobre 2005 09:53, jgfa92004 a écrit :
> Hi all,
> I have a svg file that contains two svg parts :
> <svg ...>
>    <svg id="1"...>
>       ...
>    </svg>
>    <svg id="2"...
>       ...
>    </svg>
> </svg>
> Is there a way to have a zoom only on svg 1 and not on svg 2 ?
> Or is there a workaround ?
> Thanks in advance.
> Julie

Hi Julie,

What you describe here made me think of an exemple that you can find at the 
following address:

http://www.carto.net/papers/svg/navigationTools/index.svg

with explainations here

http://www.carto.net/papers/svg/navigationTools/

For a more appropriate answer, maybe provide us with a better description of 
what you actually want. For instance, it isn't clear from your mail if you 
want to zoom on id=1 while the rest of the parent svg remains unchanged, or 
zoom in the whole parent svg with a zoom automatically centered on id=1. For 
the former, the general is to change the id=1's viewBox from within a script 
(as shown in the provided exemple), for the latter I have no idea.

Hope that helps.

Sylvain

      

      
            
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com 


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


    Visit your group "svg-developers" on the web.
  
    To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
  
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


---------------------------------



                
---------------------------------
 Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
 Téléchargez le ici !  

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

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