Re: [svg-developers] Re: Starting and Stopping Animation

2006-01-27 Thread Fulio Pen
Hello,

Thank all for your help.  After looking at all the suggestions, I took the 
method in following page: 

http://pilat.free.fr/tutorial2/example/pauseAnimations.svg
 

But there are some problems with my code.  Please look at them in following 
page:

http://www.pinyinology.com/svg//hanzi7.html

http://www.pinyinology.com/svg//hanzi7.svg

Thanks again for your help.

pilatfr [EMAIL PROTECTED] wrote: Hi,
 
 You can use pauseAnimations() and unpauseAnimations() on svg root 
 element
 
 See example
 http://pilat.free.fr/tutorial2/example/pauseAnimations.svg
 
 Michel
 
 PS This functions are not implemented in Opera 9 beta ...
 
 --- In svg-developers@yahoogroups.com, Fulio Pen [EMAIL PROTECTED] 
 wrote:
 
  Hi,
  
  I like the animation in the svg to stop and start by selection.  
 Wondering whether the effect can by achieved or not?  My question is 
 in the html page:
  
  http://www.pinyinology.com/svg/hanzi6.html
  
  http://www.pinyinology.com/svg/hanzi6.svg 
  
  Thanks.
  
  
  
  -
   Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews,  
 more on new and used cars.
  
  [Non-text portions of this message have been removed]
 
 
 
 
 
  

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

-
 
 
 



-
 
 What are the most popular cars? Find out at Yahoo! Autos 

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



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





Re: [svg-developers] Re: Starting and Stopping Animation

2006-01-25 Thread Peter Thompson
Here is another example with pause/unpause animation:
http://svg-whiz.com/svg/PausePlay.svg

You can also start the animation when some event takes
place (e.g., the user clicks on an element).  I can't
point you to an on-line reference for this, but the
following fragment shows how you do this in SVG (no
Javascript required).  I know that it works in ASVG3;
I haven't checked other SVG viewers.

svg
...
animate ... begin=controlRect.click ... /
...
rect id='controlRect' ... '/
...
/svg


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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

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




Re: [svg-developers] Re: Starting and Stopping Animation

2006-01-25 Thread becks xlover
Hi Peter,
   
  Can this works with the path element?
   
  I want to do the following:
   
  When user moves mouse on the path shown, it will display a text just as a 
tooltip.
   
  Thanks in advance
   
  Rgds,
  
David
  

Peter Thompson [EMAIL PROTECTED] wrote:
  Here is another example with pause/unpause animation:
http://svg-whiz.com/svg/PausePlay.svg

You can also start the animation when some event takes
place (e.g., the user clicks on an element).  I can't
point you to an on-line reference for this, but the
following fragment shows how you do this in SVG (no
Javascript required).  I know that it works in ASVG3;
I haven't checked other SVG viewers.

svg
...
animate ... begin=controlRect.click ... /
...
rect id='controlRect' ... '/
...
/svg


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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. 


-
  

  



-
Do you Yahoo!?
 With a free 1 GB, there's more in store with Yahoo! Mail.

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



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




Re: [svg-developers] Re: Starting and Stopping Animation

2006-01-25 Thread Peter Thompson
Yes.  You can do something like this:

text x=55 y=45 visibility=hiddentooltip
 set attributeName=visibility to=visible
begin=path7.mouseover/
 set attributeName=visibility to=hidden
begin=path7.mouseout/
/text
path id=path7 d=M50 50 L200 50 200 200
fill=none stroke=red/

The text displays when you move the pointer over the
path and disappears when you move the pointer off the
path.

The location of the text on the screen doesn't change.
If that is not the functionality you want, then I
think you need to write some Javascript, similar to:
http://svg-whiz.com/svg/Tooltip2.svg


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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

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