<td>
<form>
<p>Afficher/Masquer :</p>
<p>
<script><![CDATA[
function afficher(evt){
svgdoc=document.pizza.getSVGDocument;
objet=svgdoc.getElementById('mapizza');
objet.setAttribute("display","inline");}
function masquer(evt){
svgdoc=document.pizza.getSVGDocument;
objet=svgdoc.getElementById('mapizza');
objet.setAttribute("display","none");}
]]></script>
<input type="radio" name="aff" value="afficher" onclick="afficher(evt);/> AFFICHER<br />
<input type="radio" name="taille" value="masquer" onclick="masquer(evt);"/> MASQUER
</p>
</form>
</td>
<td>
<svg id="pizza" width="300" height="200" xmlns="http://www.w3.org/2000/svg">
<circle id='mapizza' cx='150' cy='100' r='80' stroke='black' stroke-width='2' style='fill:yellow' />
</svg>
</td>
Partager