Widget:AllusionsCharts: Difference between revisions

From International Robin Hood Bibliography
mNo edit summary
mNo edit summary
Line 61: Line 61:
cText += "<div class='tLnDec' id='i" + prop + "'><div>" + decStr + "</div><ul>";
cText += "<div class='tLnDec' id='i" + prop + "'><div>" + decStr + "</div><ul>";
for (var i = 0; i < nPages; i++) {
for (var i = 0; i < nPages; i++) {
cText += "<li class='tLnItem'><span>" + pages[prop][i].year + " &ndash; " + pages[prop][i].page + "</span><div></div></li>";
cText += "<li class='tLnItem'><span>" + pages[prop][i].page + "</span><div></div></li>";
}
}
cText += "</ul></div>"
cText += "</ul></div>"

Revision as of 17:25, 29 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.