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.
franta-hg@60
     1
<?xml version="1.0"?>
franta-hg@60
     2
<svg width="1000" height="1000"
franta-hg@60
     3
     xmlns="http://www.w3.org/2000/svg"
franta-hg@60
     4
     xmlns:xlink="http://www.w3.org/1999/xlink">
franta-hg@60
     5
franta-hg@60
     6
franta-hg@60
     7
    <!--
franta-hg@60
     8
    <a xlink:href="http://frantovo.cz"  xlink:title="Moje stránky!">
franta-hg@60
     9
	<circle cx="150" cy="100" r="50" style="fill:red; stroke-width: 3; stroke:rgb(0,0,0)"/>
franta-hg@60
    10
    </a>
franta-hg@60
    11
franta-hg@60
    12
    <a xlink:href="javascript:alert('To čumíš, co? :-)')" xlink:title="Nečum!">
franta-hg@60
    13
	<circle cx="200" cy="100" r="50" style="fill:blue; stroke-width: 3; stroke:rgb(0,0,0)"/>
franta-hg@60
    14
    </a>
franta-hg@60
    15
    -->
franta-hg@60
    16
franta-hg@60
    17
    <style type="text/css">
franta-hg@60
    18
	rect.nekuracka {
franta-hg@60
    19
	    fill: blue;
franta-hg@60
    20
	    stroke: black;
franta-hg@60
    21
	}
franta-hg@60
    22
	rect.kuracka {
franta-hg@60
    23
	    fill: red;
franta-hg@60
    24
	    stroke: black;
franta-hg@60
    25
	}
franta-hg@60
    26
    </style>
franta-hg@60
    27
franta-hg@60
    28
franta-hg@60
    29
    <rect x="10" y="10" width="100" height="400" class="nekuracka"/>
franta-hg@60
    30
    <rect x="150" y="10" width="100" height="400" class="kuracka"/>
franta-hg@60
    31
franta-hg@60
    32
franta-hg@60
    33
franta-hg@60
    34
</svg>