code:
1
2
3
4
5
6
7
8
9
| function loginPopUp() {
props=window.open('login.php', 'poppage', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=350, height=200, left = 200, top = 150');
}
function logoutPopUp() {
props=window.open('logout.php', 'poppage', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=350, height=200, left = 200, top = 150');
}
function forumPopUp() {
props=window.open('forum/index.php', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=1, width=750, height=500, left = 10, top = 10');
} |
Dit heb ik dus. Maar nou wil ik het zo hebben dat als ik 2 v/d popups aanroep ze in verschillende windows openen (ze openen nu dus in het zelfde window).