N
neetu
Hi
I hava a menu like this:
[+] personal
[+] income
[+] return
[+] filing
and the following javascipt:
var expand='on' ;
function switchid(id){
hideallids(ids);
if(expand=='on'){
showdiv(id);
expand='off';
}
else{
expand='on';
hidediv(id);
}
}
When user clicks on [+] of 'personal' the menu expands and when he
again clicks on it the menu collapses. if 'personal' is already in
expanded state and the user clicks on 'income' then also 'personal'
collapses. What i want is that 'personal' collapses but at the same
time 'income' should expand without disturbing the existing
functionality. pls tell me how to implement it.
I hava a menu like this:
[+] personal
[+] income
[+] return
[+] filing
and the following javascipt:
var expand='on' ;
function switchid(id){
hideallids(ids);
if(expand=='on'){
showdiv(id);
expand='off';
}
else{
expand='on';
hidediv(id);
}
}
When user clicks on [+] of 'personal' the menu expands and when he
again clicks on it the menu collapses. if 'personal' is already in
expanded state and the user clicks on 'income' then also 'personal'
collapses. What i want is that 'personal' collapses but at the same
time 'income' should expand without disturbing the existing
functionality. pls tell me how to implement it.