Forum » Izdelava spletišč » Kako vključit CSS v JavaScript
Kako vključit CSS v JavaScript
c0dehunter ::
Poenostavljeno zapisano:
Zakaj mi tole ne dela? Upošteval sem razne fore za double quote, pa vseeno ne gre
<style type="text/css"> .pozitivno{color:green; text-weight:bold} .negativno {color:red; text-weight:bold} </style> <script type="text/javascript"> document.writeln("<span class=\"negativno\">poskus</span>"); </script>
Zakaj mi tole ne dela? Upošteval sem razne fore za double quote, pa vseeno ne gre
I do not agree with what you have to say,
but I'll defend to the death your right to say it.
but I'll defend to the death your right to say it.
c0dehunter ::
Tudi z document.write ne dela (sem poskusil že pred postanjem).
I do not agree with what you have to say,
but I'll defend to the death your right to say it.
but I'll defend to the death your right to say it.
c0dehunter ::
Očitno gre za neko banalno napako. Rešitev sem sicer našel v prvem linku pod to temo (Sklop "Vredno ogleda...").
Lp
Lp
I do not agree with what you have to say,
but I'll defend to the death your right to say it.
but I'll defend to the death your right to say it.
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Kontaknti obrazec - potrebujem pomočOddelek: Programiranje | 1158 (880) | cobrica |
» | JavascriptOddelek: Programiranje | 1190 (1003) | amacar |
» | Javascript pomočOddelek: Izdelava spletišč | 2058 (1614) | Lion29 |
» | Google odštevaOddelek: Novice / Omrežja / internet | 5615 (4005) | MrStein |
» | Javascript problemcekOddelek: Programiranje | 1605 (1398) | tempoFlow |