web/rsln-opendata/res/metadataplayer/test/raphael2.html
changeset 120 3daa4039509a
parent 119 4c86151704e9
child 121 2b794b7901d6
equal deleted inserted replaced
119:4c86151704e9 120:3daa4039509a
     1 <!doctype html>
       
     2 <html>
       
     3   <head>
       
     4     <script src='raphael-min.js'></script>
       
     5     <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js'></script>
       
     6     <script>
       
     7       $(function () {
       
     8         var paper = Raphael(10, 50, 300, 250);
       
     9         var circle = paper.circle(50, 40, 10);
       
    10         circle.attr('fill', '#c00');
       
    11         circle.attr('stroke', '#fff');
       
    12       });
       
    13     </script>
       
    14   </head>
       
    15 
       
    16   <body></body>
       
    17 </html>