Widget:PlaceNamesNavigationMapEnglish: Difference between revisions

From International Robin Hood Bibliography
mNo edit summary
mNo edit summary
Line 351: Line 351:
}
}
}
}
get("choroMapLegend1").innerHTML = choroLegend[n.choroVar].s1;
get("choroMapLegend2").innerHTML = choroLegend[n.choroVar].s2;
get("choroMapLegend3").innerHTML = choroLegend[n.choroVar].s3;
w.choro.choropleth();
w.choro.choropleth();
}
}
Line 366: Line 369:
get("choroMapLegend2").style.fontWeight = 600;
get("choroMapLegend2").style.fontWeight = 600;
get("choroMapLegend2").style.color = "#4d8375";
get("choroMapLegend2").style.color = "#4d8375";
get("choroMapLegend2").style.cursor = "pointer";
get("choroMapLegend3").onclick = selectChoroVar;
get("choroMapLegend3").onclick = selectChoroVar;
get("choroMapLegend3").style.fontWeight = 600;
get("choroMapLegend3").style.fontWeight = 600;
get("choroMapLegend3").style.color = "#4d8375";
get("choroMapLegend3").style.color = "#4d8375";
get("choroMapLegend3").style.cursor = "pointer";
};
};

Revision as of 23:39, 18 May 2019

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