What you could do is set a variable when the fade begins, and reset it
when it ends, and then limit your tab buttons from having action if
the fade is in progress.

so it would look like:

// inside tab click function:
if (this.fade_in_progress) {
  return false;
}

and then you'd do something like:

this.fade_in_progress = true;
pageElement.fade({ duration: 1.0, to: 1.0, afterFinish: function()
{ this.fade_in_progress = false; }.bind(this) });

-patrick

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to