logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • Jake
    • Posted on Wed 12 May 2004

    In your link, separate out the height and width in to two extra arguments to the function:

    javascript:windowOpener('../screens.php?fi=pi...','screens',480,450)

    Then in the function you need to make it like this:

    function windowOpener(pic, title, width, height) {

    if(typeof(popupWin) != "object" || popupWin.closed) { popupWin = window.open(pic,title);

    } else { popupWin.location.href = pic; }

    popupWin.focus(); popupWin.width=width; popupWin.height=height; }

    HTH

Your Comments

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