Why would you require a php page for javascript?
Printable View
Neither can you.
Put this in the head of your site.
<script language="javascript">
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=1,statusbar=0,men ubar=0,resizable=1,width=500,height=500');");
}
</script>
Put this where you want the box to popup (link click)
<a href="javascript:popup('whateverhere')">link name</a>
simple.
HTML Code:<script language="javascript">
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=1,statusbar=0,men ubar=0,resizable=1,width=500,height=500');");
}
</script>
<body onload="javascript:popUp('whateverhere')">
Xiwl everyone is helping you and your being an ____!
The url id is what you need to NAME! eg with habbo it used to be 'client'.