Re using a window..

  • Thread starter The Natural Philosopher
  • Start date
T

The Natural Philosopher

why doesnt this work?

<script type="text/javascript" language="JavaScript">
var child1;
function show_order(id)
{
if(!child1 || child1.closed==true) // never bin opened or been closed
child1=window.open("sales_edit.php?nobanner=yes&id="+id,"_blank",

"height=600,width=1000,scrollbars=no,location=no,menubar=no,toolbar=no,status=no,resizable=yes");
else child1.location.replace("sales_edit.php?nobanner=yes&id="+id);
child1.focus();
}
</script>


Sure, it opens a new window, but never reuses the same one!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,059
Latest member
cryptoseoagencies

Latest Threads

Top