How do I create a popup window when doing oauth?

ぃ、小莉子 提交于 2019-12-03 04:05:32

The thing is, this is not a pop-up window. It's what usually called lightbox. A js script like fancybox, lightbox and many others. You basically can open an iframe in a div with a absolut position and high z-index, then put an overlay underneath.

In javascript, the window.open() function will do this for you. With its api, you can set its location and get data from events occurring in it.

Popup blockers will not block this popup if it is created from a function that is executed when the user clicks a button. Popup blockers only block windows if there was no user input provided to create it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!