2 <svg width="1000" height="1000"
3 xmlns="http://www.w3.org/2000/svg"
4 xmlns:xlink="http://www.w3.org/1999/xlink">
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)"/>
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)"/>
17 <style type="text/css">
19 fill: url(#ne_prechod);
23 fill: url(#ano_prechod);
27 a:hover rect.ano, a:hover rect.ne {
28 fill: url(#zvyrazneny_prechod);
42 fill: url(#pozadi_prechod);
52 <!-- pozadí – přechod -->
54 <linearGradient id="pozadi_prechod" x1="0%" y1="0%" x2="100%" y2="100%">
55 <stop offset="0%" style="stop-color:silver; stop-opacity:1"/>
56 <stop offset="100%" style="stop-color:gray; stop-opacity:1"/>
60 <!-- nekuřácký graf – přechod -->
62 <linearGradient id="ne_prechod" x1="0%" y1="0%" x2="100%" y2="100%">
63 <stop offset="0%" style="stop-color:white; stop-opacity:1"/>
64 <stop offset="100%" style="stop-color:blue; stop-opacity:1"/>
68 <!-- zvýrazněný graf – přechod -->
70 <linearGradient id="zvyrazneny_prechod" x1="0%" y1="0%" x2="100%" y2="100%">
71 <stop offset="0%" style="stop-color:white; stop-opacity:1"/>
72 <stop offset="100%" style="stop-color:green; stop-opacity:1"/>
76 <!-- kuřácký graf – přechod -->
78 <linearGradient id="ano_prechod" x1="0%" y1="0%" x2="100%" y2="100%">
79 <stop offset="0%" style="stop-color:white; stop-opacity:1"/>
80 <stop offset="100%" style="stop-color:red; stop-opacity:1"/>
84 <!-- pozadí a linka -->
85 <rect x="0" y="0" width="200" height="200" class="pozadi"/>
86 <line x1="10" y1="180" x2="190" y2="180" class="ramecek"/>
89 <text x="60" y="20">Mělo by se tu:</text>
92 <a xlink:href="javascript:alert('To čumíš, co? :-)')" xlink:title="xxx nekouřit">
93 <text x="30" y="195" class="ne">nekouřit</text>
94 <rect x="30" y="30" width="50" height="150" class="ne"/>
98 <a xlink:href="javascript:alert('To čumíš, co? :-)')" xlink:title="xxx kouřit">
99 <text x="130" y="195" class="ano">kouřit</text>
100 <rect x="120" y="30" width="50" height="150" class="ano"/>