Video by via Dailymotion
Source
A popup in an application can be useful for multiple purposes. For example I’m using to connect the social accounts avoiding page redirects. With a popup is more easy to do this.
This video shows an approach to open a popup using JavaScript.
Gist url https://gist.github.com/InterTuts/311e95b97e13262d8015caab6ce7b766