Autor Zpráva
Xaero
Profil *
Nevíte někdo jak nastavit barvu v javascriptu?
potřebuju to nastavit u tohoto scriptu

document.write('<style>a {color: #00FF00}</style><center>');
document.write("Torrenty<br><br>");
document.write('<font color="#00FF00" size="3"><a href="hry.html">Hry</a><br>');
document.write('<a href="filmy.html">Filmy</a><br>');
document.write('<a href="18+.html">18+</a><br>');
document.write('<a href="programy.html">Programy</a><br>');
document.write('<a href="alba.html">Alba</a><br><br></font>');
document.write("Jak zjistit heslo na Seznam E-mail<br><br>");
document.write('<a href="heslo.html">Heslo na Seznam E-mail</a><br></center>');
Casero
Profil
Xaero
Do toho stylu přidej, body {color:xx}
Nechápu, co to za příšernosti tlačíš do JS, nejde to vyřešit přes HTML?
Xaero
Profil *
Oprava:

Nevíte někdo jak nastavit barvu v javascriptu?
potřebuju to nastavit u tohoto scriptu

document.write('<style>a {color: #00FF00}</style><center>');
document.write("Torrenty<br><br>");
document.write('<font color="#00FF00" size="3"><a href="hry.html">Hry</a><br>');
document.write('<a href="filmy.html">Filmy</a><br>');
document.write('<a href="18+.html">18+</a><br>');
document.write('<a href="programy.html">Programy</a><br>');
document.write('<a href="alba.html">Alba</a><br><br></font>');
document.write("Jak zjistit heslo na Seznam E-mail<br><br>");
document.write('<a href="heslo.html">Heslo na Seznam E-mail</a><br></center>');

To co je tučně tam bych potřeboval nastavit barvu.
Toto téma je uzamčeno. Odpověď nelze zaslat.

0