I've been trying to open a new window and move it toward the center. It will not move and I get an error. What am I doing wrong? Thanks.
Code:
<html>
<head>
<script language="JavaScript">
function newwin() {
childWin=window.open("[URL unfurl="true"]http://www.google.com","","width=400,height=300,resizable=1");[/URL]
childWin.moveTo(100,100);
}
</script>
</head>
<body><font size="4">
<a href="javascript:newwin()">Google</a>
</body>
</html>