cele4
Forum Replies Created
-
Forum: Plugins
In reply to: [Visualizer: Tables and Charts Manager for WordPress] Highlight lineHi there
Thank you for your concern. I was able to solve it after many hours yesterday. I wanted to write to you, but fell asleep in front of the PC 🙁
Forum: Plugins
In reply to: [Visualizer: Tables and Charts Manager for WordPress] Highlight lineHi
Marking with the line is done.
https://www.handball-hall-of-fame.ch/player/boesch-tamara-handball-hall-of-fame/
National League, line in “blue”.
<script type = “text / javascript”>
window.addEventListener (‘load’, function () {
console.log (‘DOM fully loaded and parsed’);
const tds = document.querySelectorAll (‘body.player-template-default.single.single-player table.dataTable.visualizer-data-table tbody> tr> td’);
for (var i = 0; i <tds.length; i ++) {
if (tds [i] .innerText === ‘W’) tds [i] .parentElement.style.backgroundColor = ‘# 9ed7b6’;
else if (tds [i] .innerText === ‘L’) tds [i] .parentElement.style.backgroundColor = ‘# f4a6a6’;
else if (tds [i] .innerText === ‘D’) tds [i] .parentElement.style.backgroundColor = ‘# f4dda6’;
else if (tds [i] .innerText === ‘Total’) tds [i] .parentElement.style.backgroundColor = ‘# a6d4f4’;
}
});
</ Script>I just want the line “Total” to appear in bold in the code.
Forum: Plugins
In reply to: [A-Z Listing] Plugin to PluginThats great!!! Thank you so much!!