Themabewertung:
  • 1 Bewertung(en) - 5 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
schriftformatierung
#4
Die einfachste Möglichkeit ist wohl die folgende:


Öffne die chatRoom.html.php und suche nach:
Code:
<div class="closeonlbox" onclick="switchToUserColor();">Anwenden</div>

Darunter fügst du ein:
Code:
<div class="closeonlbox" onclick="setTFon();">/tf on</div>
<div class="closeonlbox" onclick="setTFoff();">/tf off</div>

Speichern, schliessen und die chatRoom.js.php öffnen. Darin suchst du nach:
Code:
function setWait() {
 $$('text_input').value = '/wait';
 sendMessage();
}

Darunter fügst du ein:
Code:
function setTFon() {
 $$('text_input').value = '/tf on';
 sendMessage();
 switchUserColorBox();
}

function setTFoff() {
 $$('text_input').value = '/tf off';
 sendMessage();
 switchUserColorBox();
}

Speichern, alles hochladen, fertig.
Kein Support ohne URL und aussagekräftige Fehlerbeschreibung oder ohne ausreichende Angaben zur Serverkonfiguration. Und erst recht nicht per PN.
Antworten
  


Nachrichten in diesem Thema
schriftformatierung - rw-spremberg - 17.06.2019, 09:58
RE: schriftformatierung - Phate - 17.06.2019, 23:01
RE: schriftformatierung - Phate - 21.06.2019, 15:07
RE: schriftformatierung - Phate - 23.06.2019, 22:00
RE: schriftformatierung - Holly - 28.06.2019, 22:20
RE: schriftformatierung - Phate - 25.06.2019, 17:16
RE: schriftformatierung - Phate - 25.06.2019, 23:41
RE: schriftformatierung - Phate - 02.07.2019, 21:36
RE: schriftformatierung - zillo - 30.01.2020, 03:29
RE: schriftformatierung - Phate - 09.02.2020, 19:58
RE: schriftformatierung - Phate - 21.04.2020, 22:12

Gehe zu:


Benutzer, die gerade dieses Thema anschauen:
1 Gast/Gäste