farling42 / RWoutput

Tool to convert a Realm Works Output file into other formats.
GNU General Public License v3.0
14 stars 0 forks source link

Convert map pins into HTML Links #2

Closed farling42 closed 6 years ago

farling42 commented 6 years ago

map_pin elements are created on a smart_image. These need converting into HTML links to get to the relevant topics.

farling42 commented 6 years ago

The HTML5 needs to look something like:

<img src="workplace.jpg" alt="Workplace" usemap="#workmap">
<map name="workmap">
    <area shape="rect" coords="34,44,270,350" alt="Computer" href="computer.htm">
    <area shape="rect" coords="290,172,333,250" alt="Phone" href="phone.htm">
    <area shape="circle" coords="337,300,44" alt="Coffee" href="coffee.htm">
</map>
farling42 commented 6 years ago

Zones change the mouse cursor, but no pins are drawn.