My objective is to position a new window opened with the window.open()
method in the bottom righthand corner of the screen, but setting right=0
and bottom=0
does not work.
Changing width
and height
makes a difference, but changing top
, bottom
, right
or left
still results in the window opening in the top lefthand corner.
Why is this and how would one position the window in the lower right hand corner?
window.open('https://google.com', '_blank', 'location=yes, height=250,width=550, right=0, bottom=0, scrollbars=yes,status=yes');