[jQuery] Re: Show and Hide DIV

2007-04-27 Thread Massimiliano Marini
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

[jQuery] Re: Show and Hide DIV

2007-04-27 Thread Dave Cardwell
Massimiliano Marini wrote: 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

[jQuery] Re: Show and Hide DIV

2007-04-26 Thread [EMAIL PROTECTED]
No need to store anything in a variable. That gets murky. Just hide them all via a selection on class and then show the one you want after that. Then you need not remember anything about state. -khoker On Apr 26, 10:49 am, Sean Catchpole [EMAIL PROTECTED] wrote: You're on the right

[jQuery] Re: Show and Hide DIV

2007-04-26 Thread Sean Catchpole
On 4/26/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: No need to store anything in a variable. That gets murky. Just hide them all via a selection on class and then show the one you want after that. Then you need not remember anything about state. That takes more processing time, and for