setWinPosition
Sets the screenX
and screenY
of current window.
See Window at mdn to know about these values.
setWinPosition(screenX, screenY)
#
ParametersscreenX
: Anumber
. Horizontal distance from left of OS screen to left of browser window in pixels.screenY
: Anumber
. Vertical distance from top of OS screen to top of browser window in pixels.
#
Returns- No value
#
ExamplesetWinPosition(75, 25)