vForums Support > System Improvements :: Suggestions :: > Better 'Hide/Show' Function

Better 'Hide/Show' Function - Posted By Michael (wrighty) on 31st May 09 at 7:34pm
No offence, but the current one only takes ids  and doesn't allow multiple hide/shows! {Tongue Out}
So how about we have something like:



function hide(x){
for(n in x)
x[n].style.display = (x[n].style.display == '')? 'none' : '';
}