Jim,
Leave out the 'Var'. I use the Window.Open() successfully just declaring the variables as in VFP. Also, no ";" after the variable declarations.
function Popup()
{
popupURL = "calculator.html"
popup = window.open(popupURL, "Popup", "toolbar=0, location=0....."
}
HTH
Barbara
>I am trying to have a window popup from another page. However it's not working, and I don't know why. Please help, code is below;
>
>function Popup()
>{
>// Open the popup Window.
>var popupUrl = "calculator.html";
>var popup = window.open ("popupUrl","Popup",'toolbar=0,location=0,directories=0,
>status=0,menubar=0,scrollbars=0,resizable=0,width=180,height=180');
>}
>
>
>
>Thanks
>
>Jim Rieck