Widget:AllusionsCharts: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
window.IRHB.timeline = {}; | window.IRHB.timeline = {}; | ||
var t = window.IRHB.timeline; | var t = window.IRHB.timeline; | ||
var get = window.IRHB.get || function get (elem) { | |||
if (typeof elem === "string") { | |||
elem = document.getElementById(elem); | |||
} | |||
return elem; | |||
}; | |||
Line 174: | Line 182: | ||
}; | }; | ||
var get = window.IRHB.get || function get (elem) { | /*var get = window.IRHB.get || function get (elem) { | ||
if (typeof elem === "string") { | if (typeof elem === "string") { | ||
elem = document.getElementById(elem); | elem = document.getElementById(elem); | ||
} | } | ||
return elem; | return elem; | ||
}; | };*/ | ||
replaceAll = function (str, find, replacement) { | replaceAll = function (str, find, replacement) { |
Revision as of 19:21, 21 May 2019
This widget renders the charts on the section and century landing pages in the Allusions section and Records sub-section of IRHB. It takes no parameters.