Preserved Topic: Access all elements associated with a certain style? |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: Lebanon |
posted 07-18-2001 10:52
code: <style>
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 07-18-2001 13:32
Oh, i definitely posted something that does that a while ago... the question is, can I find it in the archives... |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 07-18-2001 13:34
Here it is |
Paranoid (IV) Inmate From: Lebanon |
posted 07-18-2001 13:48
No Slime! that doesn't answer my question! code: <a id="a1" class="cl1">adsda</a>
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 07-18-2001 14:33
Hmm. That's tougher... You want an array of objects that have a certain class... there may be a way to do that, I can look into it later if no one else knows how... |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 07-18-2001 15:51
Well, we've done Mouseover buttons via CSS change. Dunno if this does what you're asking..... |
Paranoid (IV) Inmate From: Lebanon |
posted 07-19-2001 08:42
Pugzly, very nice one! |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 07-19-2001 13:48
The question is, how to filter them. I saw recently someone mentioned a setAttribute() function. Is there a getAttribute() function? You could use getAttribute("class"). |
Paranoid (IV) Inmate From: Canada, Toronto |
posted 07-19-2001 13:53 |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 07-19-2001 18:07 |