# Window.moveto doesn't work

**URL:** <https://forum.kirupa.com/t/window-moveto-doesnt-work/43496>\
**Category:** Uncategorized\
**Created:** [February 23, 2004, 10:52am UTC](https://forum.kirupa.com/t/window-moveto-doesnt-work/43496 "2004-02-23T10:52:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![as\_clark20](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@as\_clark20](https://forum.kirupa.com/u/as_clark20)\
**Post date:** [February 23, 2004, 10:52am UTC](https://forum.kirupa.com/t/window-moveto-doesnt-work/43496/1 "2004-02-23T10:52:20Z")

</div>

click a button to open an external window = fine  
moving this new window to a specified position using window.moveto = doesn’t work.

My favourite quote. Bugger!!

between \<head\>\</head\> tags in the html page that is to be called when you press the button I have the following code…

```auto

< **** script language="JavaScript">
win **** dow.moveTo(0, 0);
< **** /script>

```

this doesn’t seem to be working at all. Do I need some better code or just to tweek this one. My brain tells me that this SHOULD work, where am I going wrong?! For an example please go to [http://www.brakesint.co.uk](http://www.brakesint.co.uk) and click the big green BUY ONLINE button. Cheers!
