Vorlage:SetHTMLContent
Aus BogenWiki
(Unterschied zwischen Versionen)
Nugman (Diskussion | Beiträge) |
Nugman (Diskussion | Beiträge) |
||
Zeile 2: | Zeile 2: | ||
{{BD-Satz-BDZelleInfo|Typ=JS}} | {{BD-Satz-BDZelleInfo|Typ=JS}} | ||
Type=InfoSet: "xxx" => "<html><span id="Bg1-S1">xxx</span></html>" | Type=InfoSet: "xxx" => "<html><span id="Bg1-S1">xxx</span></html>" | ||
- | {{BD-Satz-BDZelleInfo|Typ=InfoSet|Bg=Bg1|Sp=S1|yyy}} | + | {{BD-Satz-BDZelleInfo|Typ=InfoSet|Bg=Bg1|Sp=S1|Info=yyy}} |
</noinclude><includeonly>{{#switch:{{{Typ|-}}} | </noinclude><includeonly>{{#switch:{{{Typ|-}}} | ||
|JS=<html> | |JS=<html> | ||
Zeile 9: | Zeile 9: | ||
{ | { | ||
sCellID = Bg+'-'+Sp; | sCellID = Bg+'-'+Sp; | ||
- | eCell = | + | eCell = getElementById(sCellID); |
if (eCell) { | if (eCell) { | ||
eCell.innerHTML = Info; | eCell.innerHTML = Info; |
Version vom 13:02, 7. Feb. 2022
Type=InfoSet: "xxx" => "xxx"