Hi Brian,
briansmcc...@gmail.com wrote:
does anyone know how I could get a page to open to a specific size and
location on the screen on its own? in other words, the page is not
being launched from any other page; it simply resides on my local
machine and I would like to see it launch to a specific size etc.
thanks
Brian mc
Yes there is a way. Javascript has a Window object with these methods
which can achieve what you want:
specific..location on the screen
window.moveBy(dx, dy)
window.moveTo(x, y)
open to a specific size...
window.resizeBy(dw, dh)
window.resizeTo(width, height)
The only difference is dependent on how you want to do your desired
action. i.e., do you want to do it by relative or absolute amount.
Hope this helps. :)