Widget:HtmlImageMap: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This widget | This widget hardcodes the entire Sandbox floor plan map to bypass strict wiki template variables. | ||
Usage: | Usage on your wiki page: {{#widget:HtmlImageMap}} | ||
{{#widget:HtmlImageMap | |||
}} | |||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<!-- | <!-- Note the '#' added to usemap below so the browser can find the coordinate IDs --> | ||
<img src="https://sandbox.umd.edu/wiki/images/thumb/f/f9/SandboxFloorPlan-Studios.jpg/800px-SandboxFloorPlan-Studios.jpg" width="800" usemap="SandboxFloorplanMap" alt="Makerspace Map"> | <img src="https://sandbox.umd.edu/wiki/images/thumb/f/f9/SandboxFloorPlan-Studios.jpg/800px-SandboxFloorPlan-Studios.jpg" width="800" usemap="#SandboxFloorplanMap" alt="Makerspace Map"> | ||
<map name="SandboxFloorplanMap"> | <map name="SandboxFloorplanMap"> | ||
<area shape="rect" coords=" | <area shape="rect" coords="245,38,365,148" href="https://umd.edu" title="Electronics"> | ||
<area shape="rect" coords=" | <area shape="rect" coords="382,58,482,170" href="https://umd.edu" title="Crafting"> | ||
<area shape="rect" coords=" | <area shape="rect" coords="472,72,572,180" href="https://umd.edu" title="Sewing"> | ||
<area shape="rect" coords=" | <area shape="rect" coords="275,198,375,293" href="https://umd.edu" title="Office"> | ||
<area shape="rect" coords=" | <area shape="rect" coords="265,295,365,385" href="https://umd.edu" title="Prototyping Laser Cutting"> | ||
<area shape="rect" coords=" | <area shape="rect" coords="360,282,450,382" href="https://umd.edu" title="Prototyping 3D Printing"> | ||
<area shape="rect" coords=" | <area shape="rect" coords="330,440,430,545" href="https://umd.edu" title="CNC"> | ||
</map> | |||
</includeonly> | </includeonly> | ||
Revision as of 23:18, 13 October 2026
This widget hardcodes the entire Sandbox floor plan map to bypass strict wiki template variables.
Usage on your wiki page: