html/graf.svg
author František Kučera <franta-hg@frantovo.cz>
Mon Apr 05 18:44:10 2010 +0200 (2010-04-05)
changeset 87 27ddd3691997
child 105 f9c0ce760189
permissions -rw-r--r--
REST: nejjednodušší příklad.
     1 <?xml version="1.0"?>
     2 <svg width="1000" height="1000"
     3      xmlns="http://www.w3.org/2000/svg"
     4      xmlns:xlink="http://www.w3.org/1999/xlink">
     5 
     6 
     7     <!--
     8     <a xlink:href="http://frantovo.cz"  xlink:title="Moje stránky!">
     9 	<circle cx="150" cy="100" r="50" style="fill:red; stroke-width: 3; stroke:rgb(0,0,0)"/>
    10     </a>
    11 
    12     <a xlink:href="javascript:alert('To čumíš, co? :-)')" xlink:title="Nečum!">
    13 	<circle cx="200" cy="100" r="50" style="fill:blue; stroke-width: 3; stroke:rgb(0,0,0)"/>
    14     </a>
    15     -->
    16 
    17     <style type="text/css">
    18 	rect.nekuracka {
    19 	    fill: blue;
    20 	    stroke: black;
    21 	}
    22 	rect.kuracka {
    23 	    fill: red;
    24 	    stroke: black;
    25 	}
    26     </style>
    27 
    28 
    29     <rect x="10" y="10" width="100" height="400" class="nekuracka"/>
    30     <rect x="150" y="10" width="100" height="400" class="kuracka"/>
    31 
    32 
    33 
    34 </svg>