Project Claire: JavaScript ~ External Pop-up Window File

From PikaDocs

The following javascript is located in the pop_up_help.js file located in the /js subdirectory. The script provides instructions to pop-up a separate window, of a specified size, at a specified screen location, without a tool bar or menu bar, but with scroll bars and retaining the ability to resize the window:

// pop-up help window script ~ modified version of JavaScript Source script
// http://javascript.internet.com/generators/popup-window.html

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'left=20,top=20,screenX=20,screenY=20,toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=500,height=300');");
}

Return to Table of Contents

Related articles and files: