[Proto-Scripty] Re: walking the DOM

2009-09-20 Thread T.J. Crowder
Hi Bill, If you make them all children of one container, then you can process them in a loop like so: var divsToSuppress, n; divsToSuppress = $('containerName').children(); for (n = divsToSuppress.length - 1; n = 0; --n) { divsToSuppress[n].setStyle({'zIndex': '4'}); // = Or

[Proto-Scripty] Re: walking the DOM

2009-09-20 Thread bill
T.J. Crowder wrote: Hi Bill, If you make them all children of one container, then you can process them in a loop like so: var divsToSuppress, n; divsToSuppress = $('containerName').children(); for (n = divsToSuppress.length - 1; n = 0; --n) {

[Proto-Scripty] Re: walking the DOM

2009-09-20 Thread T.J. Crowder
Where xyz is the class name ? Yup. -- T.J. :-) On Sep 20, 2:47 pm, bill will...@techservsys.com wrote: T.J. Crowder wrote: Hi Bill, If you make them all children of one container, then you can process them in a loop like so:     var divsToSuppress, n;     divsToSuppress =

[Proto-Scripty] Re: walking the DOM

2009-09-20 Thread bill
T.J. Crowder wrote: Where xyz is the class name ? Yup. Thanks -- Bill Drescher william {at} TechServSys {dot} com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To