im getting an error. Just to confirm i put the following code in between the head tags:
function popUp (URL, w, h) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,men
ubar=0,resizable=0,width='+w+',height='+h+',left = 362,top = 234');");
}
i then put the following later on in the page:
<?php print ("<a href=\"javascriptpopUp('email_job_friend.php?job_id=" . $job_id . "', 200, 300)\"><img src=images/buttons/email_a_friend.gif border=0></a>");
im getting an file not found error after i ckick on the button
im gettin the following in my browser URL
www.mysite.com/javascriptpopUp('email_job_friend.php?job_id=002',%20200,%20300)
am i doing anything wrong