🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #39879

zmiana elementu klasy css

#39879
From: Kudłaty
Date: Sun, 14 May 2006 23:49
13 lines
1128 bytes
Witam,
        szukam sposobu na zmiane elementu klasy CSS z poziomu JavaScript.
przykładowo jest klasa:

.klasa
{ margin: 5px; }

W jaki sposób przypisać jej dynamicznie inną wartość?
Oczywiście elementów w klasie jest wiele innych których nie nalezy zmieniac.

Pozdrawiam,
-- 
Kudłaty
Technical Details
Message-ID: <e48fnp$s95$1@atlantis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Kudłaty <kudlaty@bez.adresu.email>
Newsgroups: pl.comp.lang.javascript
Subject: zmiana elementu klasy css
Date: Mon, 15 May 2006 01:49:39 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 14
Message-ID: <e48fnp$s95$1@atlantis.news.tpi.pl>
Reply-To: kudlaty@bez.adresu.email
NNTP-Posting-Host: gw.powernet.pl
Mime-Version: 1.0
X-Trace: atlantis.news.tpi.pl 1147650617 28965 213.77.31.188 (14 May 2006 23:50:17 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Sun, 14 May 2006 23:50:17 +0000 (UTC)
User-Agent: KNode/0.7.6
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit