javascript: openWin problem

  • Started
  • Last post
  • 1 Response
  • drubynum

    I'm having a problem getting a new page to open up in the same window .

    I have this openWin function in the head tag:

    function MM_openBrWindow(theURL,winName, features) {
    window.open(theURL,winName, features);
    }

    And here is the code on the links:
    [a href="#" onClick="MM_openBrWindow('desire...
    (I changed tag markers to []'s for this example.)
    It still wants to open a new window. Anyone know why?

  • kodap0

    I guess you got 2 targets here:

    new','_self

    try replace _self or 'new' with '_parent' and see how it works