Persönliche Werkzeuge

Vorlage:SetHTMLContent

Aus BogenWiki

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 3: Zeile 3:
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|Info=yyy}}
{{BD-Satz-BDZelleInfo|Typ=InfoSet|Bg=Bg1|Sp=S1|Info=yyy}}
 +
Type=InfoAdd: "xxx" => "<html><span id="Bg1-S1">xxx</span></html>"
 +
{{BD-Satz-BDZelleAdd|Typ=InfoSet|Bg=Bg1|Sp=S1|Info=yyy}}
</noinclude><includeonly>{{#switch:{{{Typ|-}}}
</noinclude><includeonly>{{#switch:{{{Typ|-}}}
|JS=<html>
|JS=<html>
Zeile 12: Zeile 14:
   if (eCell) {
   if (eCell) {
     eCell.innerHTML = Info;
     eCell.innerHTML = Info;
 +
  }
 +
}
 +
function AddBDZelleInfo(Bg,Sp,Info)
 +
{
 +
  sCellID = Bg+'-'+Sp;
 +
  eCell = document.getElementById(sCellID);
 +
  if (eCell) {
 +
    eCell.innerHTML = eCell.innerHTML+Info;
   }
   }
}
}

Version vom 18:10, 7. Feb. 2022


Type=InfoSet: "xxx" => "xxx"

Type=InfoAdd: "xxx" => "xxx" Vorlage:BD-Satz-BDZelleAdd