Responsive Map of Canada – HTML5
), So it can be scaled to any size without losing its quality.
It doesn’t require special plugins to work such as Flash player, So it works on all platforms including iPad and iPhone.
Each province has its own parameters so you can change upcolor, hover color and click color of each province also you can enable/disable the province. You can also add HTML formatted data for each province i.e you can change the font color, size, style, underline….etc
You can add clickable links such as websites or emails.
The scroll bar appears only with long content, i.e It’s autohide with short text. So you can add information as much as you want.
Responsive; it can fit in its available space without the need to scroll horizontally while preserving its quality.
Compitable with all major browsers including Google Chrome, Firefox IE9+, Safari and Opera.
Easily integrated with WordPress using either iframe or HTML Snippets plugins.
Map Parameters:borderColor: inter-province borders. shadowColor: shadow color below the map. shadowOpacity: shadow opacity, value, 0-100. namesColor: color of the abbreviations. namesShadowColor: tooltip shadow color. msgTitle: default title text (advanced version). msgData: default content text (advanced version).
Per Province Parameters:
This is what you can modify for each
province:name: province name. data: HTML formatted data appears in the text box when a user clicks this province (advanced version). url: Goto URL (simple version). target: open link in new window:_blank, open in current window:_self (simple version). upcolor: province’s normal color. overcolor: province’s color when mouse hover. downcolor: province’s color when mouse clicks. enable: true/false to enable/disable this province.
23 July 2013: Fix IE10 bug in text box (advanced version), update the documentation files and enhance the tooltip style and use better naming of the files.
12 October 2013: Fixed a rollover error with firefox
14 May 2014:
Enhancement of the interactivity with touch devices.
Enhancement of the CSS code.
Provides more detailed documentation.
In the “advanced” version, make the color of the selected province remains until the user clicks another province.