On Jul 24, 12:02 pm, "Rob Desbois" <[EMAIL PROTECTED]> wrote:
> The one problem with this is that these handlers are not fired for any of
> the tabs when they are initially setup with .tabs(), so I would suggest that
> this be done once they are setup - call onHide for the inactive tabs and
> onShow for the active one. Do you agree with this? Or can you make an
> alternate suggestion if I'm going about this wrong?

My tabs plugin does fire the onshow during the initial setup, but i
find it philosophically questionable to fire the onhide handlers at
setup because they tabs are more like "being born" instead of "being
hidden." That said, that's an interesting feature idea.
Philosophically questionable, but an interesting idea nonetheless.

http://wanderinghorse.net/computing/javascript/jquery/bogotabs/

If i can reconcile with the fundamental funkiness of it, it would be a
two-line change to add the onhide-on-birth feature to my plugin.

One of the questionable aspects is that we would probably need to call
onhide for the initially selected tab, THEN call the onshow handler,
just to make sure that everything is internally symmetric.

:?

Reply via email to