Widget:PlaceNamesChoropleths: Difference between revisions

From International Robin Hood Bibliography
mNo edit summary
mNo edit summary
Line 179: Line 179:
var c = window.IRHB.data.counties;
var c = window.IRHB.data.counties;
var tables = '<table class="bordertable expando" id="choropleth1" style="margin-bottom:-1px;">' +
var tables = '<table class="no-border expando" id="choropleth1" style="margin-bottom:-1px;">' +
'<tbody id="england">' +
'<tbody id="england">' +
'<tr class="header"><th colspan="2">England</th><th><span class="expando-c">&#x2014;&#xa0;</span><span class="expando-o">&#x25a2;&#xa0;</span></th></tr>' +
'<tr class="header"><th colspan="2">England</th><th><span class="expando-c">&#x2014;&#xa0;</span><span class="expando-o">&#x25a2;&#xa0;</span></th></tr>' +
Line 207: Line 207:
}
}
tables += '</table>';
tables += '</table>';
tables += '<table class="bordertable expando" id="choropleth2">';
tables += '<table class="no-border expando" id="choropleth2">';
for (var i = idxLeics; i < nCounties; i++) {
for (var i = idxLeics; i < nCounties; i++) {
var cty = counties[i];
var cty = counties[i];

Revision as of 14:36, 28 April 2020

This widget displays the navigation map on country and administrative division landing pages in the place-names section of IRHB. It takes no parameters.