For mapping, I use a g tag like:
<!-- previous extent variable -->
<g id='prevExt'/>
and set a value such as ext='0 0 500 600' based on the current status
before moving on to the new one. Then if I want to go back, I just
getAttribute('ext') and set my viewBox to it.
Sean
talkli wrote:
> Hi,
>
> As everyone knows, that SVG can be manipulated with javascript. But
> how can i go back to the previous status of the SVG file after the
> manipulation? And how can i solve this problem, especially wenn the
> manipulation is based on AJAX (with new information from server)?
>
> Thanx in advance!
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/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/