Onbekend |
|
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Idea by: leejoo -->
<!-- Web URL: http://www.leejoo.nl -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://www.leejoo.nl -->
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=1024,height=768');");
}
// End -->
</script>
</head><body>
<A HREF="javascript:popUp('index.htm');popUp('index2.htm');">Open de Popup</A>
</body>
<HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Idea by: leejoo --> <!-- Web URL: http://www.leejoo.nl --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://www.leejoo.nl --> <!-- Begin function popUp(URL) { id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=1024,height=768');"); } // End --> </script> </head><body> <A HREF="javascript:popUp('index.htm');popUp('index2.htm');">Open de Popup</A> </body>
Bron: LeeJoo.nl
Dit werkt wel, je kan zoveel popup's openen als je wilt!
Als je een popup wilt openen, type je: popUp('jepagina'); binnen een javascript.
Succes!
Grz,
Rick. |