Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> zmiana background w zależności od liczby - jak zrobić?
marcus755
post
Post #1





Grupa: Zarejestrowani
Postów: 158
Pomógł: 1
Dołączył: 6.12.2012

Ostrzeżenie: (0%)
-----


<div class="true">6<div>
<div class="false">3<div>

if liczba w
div z class="true" > div z class="false"
do class="true" dodaje background: green;


<div class="true">3<div>
<div class="false">6<div>

if liczba w
div z class="true" < div z class="false"
do class="false" dodaje background: red;


Sam zrobiłem, także tematu nie było;-)

Ten post edytował marcus755 9.03.2016, 16:39:50
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 24.08.2025 - 12:34