vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: System Improvements :: Suggestions :: Better 'Hide/Show' Function - View Topic
Topic Rating: *****
Printable View
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Better 'Hide/Show' Function (31st May 09 at 7:34pm UTC)
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' : '';
}
 Printable View

All times are GMT+0 :: The current time is 9:19am
Page generated in 0.3598 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums