Created
November 27, 2015 14:51
-
-
Save melvincarvalho/6663ed2cc6dd98ed3820 to your computer and use it in GitHub Desktop.
signup.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var leftPosition, topPosition; | |
| var width = 1024; | |
| var height = 600; //Allow for borders. | |
| leftPosition = (window.screen.width / 2) - ((width / 2) + 10); //Allow for title and status bars. | |
| topPosition = (window.screen.height / 2) - ((height / 2) + 50); | |
| window.open(https://solid.github.io/solid-idps/?origin="+encodeURIComponent(window.location.href), "Solid signup", "resizable,scrollbars,status,width="+width+",height="+height+",left="+ leftPosition + ",top=" + topPosition); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment