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=" | 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">— </span><span class="expando-o">▢ </span></th></tr>' + | '<tr class="header"><th colspan="2">England</th><th><span class="expando-c">— </span><span class="expando-o">▢ </span></th></tr>' + | ||
Line 207: | Line 207: | ||
} | } | ||
tables += '</table>'; | tables += '</table>'; | ||
tables += '<table class=" | 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.