The setPos() method sets the width of the popup window.
Syntax
popup.setPos(x, y);
Arguments
x
x coordinate of the popup window
y
y coordinate of the popup window
Return value
No return value.
Example
Open a page in the popup and move the popup to coordinates (200,200) counting from browser's top left corner.
var popup = Runner.displayPopup({
url: Runner.pages.getUrl("products","add"),
header: 'Add Product'
});
popup.setPos(200, 200);
See also: