jquery - What is an alternative way to open a modal window instead of window.open? -


my rails 3.2 application needs authorized against each user's account on 3rd party website. using window.open this, different settings available in internet explorer, hit , miss , causing user frustration.

i googled jquery modal window , came embarrassment of riches. yet haven't found way quite want. here requirements:

  • open modal child window , give focus.
  • prevent user returning application until child window closed.

the closest thing i've found zebra dialog, appears have different types of messages can show. need set href of window user can authenticate , authorize application 3rd party app user account.

any or pointers appreciated.

you use window.open create modal window, can pretty messy. better off using modal plugin requirements have.

i suggest using bootstrap, use modals. easy implement , style.

http://getbootstrap.com/2.3.2/javascript.html#modals

to open url in modal, use iframe in modal open url need, this.

http://bootply.com/61676


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo