The experience I want is:
- User clicks "Sign Up"
- Some asynchronous server stuff happens (checks & validations. Whatever)
- Upon completion of the required asynchronous server stuff the Facebook / Twitter / whatever auth dialogs pop up.
Couple of things that make this hard:
- The social popup widgets must be in a popup. They cannot be inside of an iframe.
- Popup blockers will block any window.open code that's not in the immediate function of a click handler
- window.open Code from a standard ajax callback handler will be blocked by popup blockers.
- A synchronous ajax request is being deprecated in jQuery 1.8
Any ideas?