[thelist] css class style changes?
James Sabin
tr3ks at yahoo.com
Sat Nov 10 17:30:17 CST 2001
is it possible to dynamically change a class style?
what I have is a list of items, ....1 <span
class="s">2</span> 3 4 5 <span class="s">6</span> 7 8
9.... and I have a link that will make the change (if
possible) something like this: <a href="javascript:
void(document.all.s.style.fontWeight='bold');">
problem is I can't figure out the reference to
classes. I can change the stylesheet, or change an
ID's style attributes. Is it possible to change a
class css attribute directly, and how can I do this?
thank you!
__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
More information about the thelist
mailing list