Forum-Link-Bubbles eingefügt.

main
Mitja Stachowiak (Hessen) 2024-04-13 14:52:45 +02:00
parent f958b2059d
commit 12ee6bd0c5
2 changed files with 13 additions and 1 deletions

View File

@ -723,7 +723,7 @@ aside {
.thema > div.einleitung:before { content: 'Einleitung in das Thema'; }
.thema > div.problem:before { content: 'Problembeschreibung'; }
.thema > div.forderungen:before { content: 'Forderungen'; }
.thema > div.fortschritt:before { content: 'Definition der Fortschrittsmessung'; }
.thema > div.fortschritt:before { content: 'Fortschritt'; }
.thema > div.kosten:before { content: 'Kosten'; }
.thema > div.ziel:before { content: 'Begründung wie das Problem gelöst wird'; }
.thema > div.verteidigung:before { content: 'Entkräften von Gegenargumenten'; }

View File

@ -276,6 +276,18 @@ function fetchText (win) {
}
}
}
str = el.childNodes[i].getAttribute('ref');
if (str !== null && str != '') {
let a = win.document.createElement('a');
a.href = str;
a.textContent = '🗨';
a.style.position = 'relative';
a.style.float = 'left';
a.style.width = '0px';
a.style.left = '-35px';
a.style.textDecoration = 'none';
el.childNodes[i].insertBefore(a, el.childNodes[i].firstChild);
}
iterateContent(el.childNodes[i]);
}
}