Window.moveto doesn't work

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…


<****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 and click the big green BUY ONLINE button. Cheers!

This also seems to work, I’ve been playing. After the first coordinate remove the space after the comma, so instead of…

<script language=“JavaScript”>
window.moveTo(0, 0);
</script>

Try using this code withouth the space after the comma…

<script language=“JavaScript”>
window.moveTo(0,0);
</script>

I’ve tested it on all the computers in this building and its working fine now. A simple space caused me so much troulble!! ****!!

The space doesnt make any difference for me.