1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-12-15 22:59:39 +00:00

width/height sur l'image svg + xlink

This commit is contained in:
Yan Maniez 2020-01-22 20:42:14 +01:00
parent 3b9e7869f0
commit f204fe8906
35 changed files with 56 additions and 52 deletions

View file

@ -7,6 +7,6 @@
<h1>Port-Sable</h1>
<div>Carte par <b>Romje</b> :</div>
<div><input type="range" min="30" max="250" value="100" id="range" /></div>
<div><svg id="map" style="fill: transparent" viewBox="0 0 2048 1536" xmlns="http://www.w3.org/2000/svg"><image href="portsable.jpg" /><g class="region"><a href="oceanpelurique.html" target="details"><rect x="29" y="162" width="246" height="116"><title>Océan Pelurique</title></rect></a></g><g class="region"><a href="ferrance.html" target="details"><rect x="1521" y="1" width="217" height="28"><title>Ferrance</title></rect></a></g><g class="region"><a href="desertdetanith.html" target="details"><rect x="838" y="1500" width="332" height="34"><title>Désert de Tanith</title></rect></a></g></svg></div>
<div><svg id="map" style="fill: transparent" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 2048 1536" xmlns="http://www.w3.org/2000/svg"><image xlink:href="portsable.jpg" width="2048px" height="1536px" /><g class="region"><a href="oceanpelurique.html" target="details"><rect x="29" y="162" width="246" height="116"><title>Océan Pelurique</title></rect></a></g><g class="region"><a href="ferrance.html" target="details"><rect x="1521" y="1" width="217" height="28"><title>Ferrance</title></rect></a></g><g class="region"><a href="desertdetanith.html" target="details"><rect x="838" y="1500" width="332" height="34"><title>Désert de Tanith</title></rect></a></g></svg></div>
</body>
</html>