I'm trying to fold in an accordion into a page and I'd like to stop
the user from going to a lower pane unless something is selected in
the previous ones  (kind of using the Accordion like a wizard)

is there any place to intercept the change to a new content pane while
I check some logic first?

I was hoping:

$("#Page_Accordion").accordion({
      change: function(e, ui) {
                        return (my Logic here);
       }
})

would do it, but that happens "too late"

Also tried:

$("#Page_Accordion h3").click(function() {
        return false;
});

and that doesn't stop the accordion action either

btw, i'm trying to avoid "disabling" the Accordion because I want the
first pane opened and not faded out from the CSS calling disabled
applies
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to