[js] popups in verschillende windows

Pagina: 1
Acties:
  • 38 views sinds 30-01-2008

  • Liqued
  • Registratie: Februari 2001
  • Laatst online: 09-01 18:51
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).

  • Liqued
  • Registratie: Februari 2001
  • Laatst online: 09-01 18:51
Laat maar ik heb het al (schaam me heel diep) 'poppage' veranderen en het is goed.

  • Thijsmans
  • Registratie: Juli 2001
  • Laatst online: 18:08

Thijsmans

⭐⭐⭐⭐⭐ (5/5)

Je kan natuurlijk ook een serie random-getallen geven als naam van je popup, dat werkt prima en je merkt er niets van :)

Privacy-adepten vinden op AVGtekst.nl de Nederlandse AVG-tekst voorzien van uitspraken en besluiten.


Verwijderd

Als je nu voortaan éérst zelf iets probeert voordat je het gaat vragen?
Of zoek het op in een reference guide?

Dit topic is gesloten.