Windows not focusing

Results 1 to 2 of 2

Thread: Windows not focusing

  1. #1
    Join Date
    Dec 1969

    Default Windows not focusing

    I am calling these two functions at different times. But on my windows 98 machine with IE 5.0, when the popup focuses, it is not in the same window. It is always different windows...Any one have any thoughts? What am I doing wrong here?<BR><BR>function AddType(id) <BR>{<BR>;sub/AddNewType.asp?StyleID=&#039; + id,&#039;EditWin&#039;);<BR> if (window.focus) {newwindow.focus()}<BR><BR>}<BR>function AddProduct(id) <BR>{<BR>;sub/AddNewProduct.asp?StyleTypeID=&#039; + id,&#039;EditWin&#039;);<BR> if (window.focus) {newwindow.focus()}<BR><BR>}

  2. #2
    Join Date
    Dec 1969

    Default RE: Windows not focusing

    Are you naming all child windows the same name..?<BR><BR>If so, you might try naming child windows with different names and then referencing their window directly by name...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts