--- In [email protected], "Kam-Hung Soh"
<[EMAIL PROTECTED]> wrote:

> Here's a Web page showing SVG-drawn analogue clocks animated by
> Javascript.  
> See: http://members.optusnet.com.au/~khsoh/000d.xhtml

As for writing CSS selectors to match elements in a certain namespace
you can do e.g.
  <style type="text/css">
  /* declare the prefix svg for SVG namespace */
  @namespace svg url(http://www.w3.org/2000/svg);
  svg|circle { fill: green; }
  </style>
That is part of the CSS 3 specifications under development but Firefox
1.5 and Opera 9 preview implement that already as far as I understand.
See <http://www.w3.org/TR/2005/WD-css3-selectors-20051215/>

> It's the simplest thing I could imagine that could not be
> easily done using just XHTML + Javascript because it involves rotating
> the hands of a clock.

(X)HTML + canvas + JavaScript can do that too :)
<http://developer.mozilla.org/en/docs/Canvas_tutorial:Basic_animations>
But text with numbers can currently not be drawn in a canvas.






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