hide/show all tables in one button xml/xsl/JavaScript

hide/show all tables in one button xml/xsl/JavaScript

by Jane Lean -
Number of replies: 0

I need to open/close (hide/show) all Tables in one click (in a new button)

now my project look like this

+(folder icon )name 1
+(folder icon )name 2
+(folder icon )name 3
+(folder icon )name 4


(under every "+" the is a table)

And i want to have something like :

+(folder icon ) ALL
+(folder icon )name 1
+(folder icon )name 2
+(folder icon )name 3
+(folder icon )name 4

So , when I will click on "ALL" , all the tables will opened (or closed) at once.

can anyone help me again please?

i am attaching my project
please help !!!

Average of ratings: -