Re: Q: To modify an CSS property from JavaScript

2003-09-03 Thread Thomas DeWeese
Bernardo Buffa Colomé wrote: Your suggestion works fine, I was trying to avoid the iteration of every element in a possible large document. And in some context maybe the requirements I'm working on forbides me to change the element's class. I'm thinking on not to use CSS classes, but to group all t

Re: Q: To modify an CSS property from JavaScript

2003-09-03 Thread Bernardo Buffa Colomé
Your suggestion works fine, I was trying to avoid the iteration of every element in a possible large document. And in some context maybe the requirements I'm working on forbides me to change the element's class. I'm thinking on not to use CSS classes, but to group all the related elements in a an

Re: Q: To modify an CSS property from JavaScript

2003-09-03 Thread Thomas Estier
> [...] > my question is: It is possible to modify from > ECMAScript, the property 'visibility' of an arbitrary > CSS class (eg 'teufel') and to expect the document > update the elements properly. If yes, somebody can > tell me how? > [...] Hi, I would do something like creating two CSS classes an

Q: To modify an CSS property from JavaScript

2003-09-03 Thread Bernardo Buffa Colomé
Hi. Given a doc like this: http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; > my question is: It is possible to m