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 only a tiny fraction of the vast memory, one can speed the process by storing the last showed div. Consider if there were 1000 links, then storing the div is faster. But alas, hiding them all each time is safer when considering simultaneous clicks. ~Sean