Widget:Test1: Difference between revisions

From International Robin Hood Bibliography
mNo edit summary
mNo edit summary
Line 298: Line 298:


function mapClick(event) {
function mapClick() {
console.log(event.target.class + " place-names");
console.log(event.target.class + " place-names");
console.log(event.currentTarget.class + " place-names");
console.log(event.currentTarget.class + " place-names");
console.log(event.target.className + " place-names");
console.log(event.currentTarget.className + " place-names");
console.log(event.target);
console.log(event.currentTarget);
//location.href = encodeURIComponent(event.target.className + " place-names");
//location.href = encodeURIComponent(event.target.className + " place-names");
}
}

Revision as of 17:55, 22 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.