/ Published in: JavaScript
Expand |
Embed | Plain Text
<SCRIPT LANGUAGE="JavaScript"> function popUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=500,left = 440,top = 150');"); } </script> <a HREF="javascript:popUp('index.php')">Open the Popup Window</a>
Comments
Subscribe to comments
You need to login to post a comment.

Works like a charm!
Eval is evil. :P