logo

New Response

« Return to the main article

You are replying to:

  1. First windowOpener() can be simplified with the same functionality as follows:

    function windowOpener(url, name, args) {

    if(typeof(popupWin) != "object" || popupWin.closed) { popupWin = window.open(url,name,args); } else { popupWin.location.href = url; }

    popupWin.focus(); }

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: