Hi Sean,

> You're on the right track. To only show one at a time, simply store
> the last one open in a variable and close it before opening the new
> one, here's an example:

Thank you for your help, your suggest have inspired me and I've writed
this code, I don't know if have sense or not, but work, any comment
suggest correction are welcome

The code I'm actually using

$("#scTopNavList li a").click(function(){
  var currOpen = ($(this).attr("href"));

  if($(currOpen).hide("fast")){
   $(currOpen).show("fast");
   return false;
  }else{
   $(currOpen).hide("fast");
   return false;
  }
 });

--
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
"It's easier to invent the future than to predict it."  -- Alan Kay

Reply via email to