Open search results in a pop-up window - Node.js HTML

Node.js examples for HTML:Pop up

Description

Open search results in a pop-up window

Demo Code

function openSearch(url, winTitle) {
    var screenWidth = parseInt(screen.availWidth);
    var screenHeight = parseInt(screen.availHeight);

    var winParams = "width=" + screenWidth + ",height=" + screenHeight;
        winParams += ",left=0,top=0,toolbar,scrollbars,resizable,status=yes";

    openWindow(url, winTitle, winParams);
}

Related Tutorials