Results 1 to 6 of 6

Thread: Multiple webbrowser control parent/child pop up

Threaded View

  1. #1
    Lively Member
    Join Date
    Jul 10
    Posts
    93

    Multiple webbrowser control parent/child pop up

    I'm stuck here and could really use some help.

    I have webbrowser1 which has about 24 embedded links and the following html:

    HTML Code:
     launches child window pop up
            function launchFeatures(a, b, c, i, d, e, f, g)
            var m,u;
            var tn =  document.Detail.sub[i].value;
           if ( tn == null || tn == "" ) 
            url = "./feature.jsp?a=" + a + "&b=" + b + "&c=" + c + "&tn=" + tn + "&d=" + catg + "&action=" + act + "&f=" + f;
            MM_openBrWindow(u,'locked','scrollbars=1,resizable=1');     
            return true;
    If I call this function it creates a popup window. I'd prefer to have the pop up display in webbrowser2. I can do this using webbrowser2.navigate(url) but it doesn't preserve the link between the parent/child windows.

    The child window is therefore unable to make changes to the parent window. How can I accomplish this?

    Example code from the child window:

    HTML Code:
    window.opener.document.getElementById("feat" + value).value="* FEATURES"
    Last edited by jsublime; Jun 5th, 2012 at 02:23 PM.

Posting Permissions

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