Results 1 to 2 of 2

Thread: Specifying the target window

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    ma,usa
    Posts
    485
    I'm using onclick to call this VB sub from a frame to populate my frame:

    Sub Run2Locs
    Window.open "HomePage.asp?hp=prod target=Forms"
    Window.open "Menu.asp?hp=hd target=Buttons"
    End Sub

    This doesn't work . It ignores "target" and opens up independent windows. Does anyone know how I can specify the target using VBScript?

  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    If your opening a new window, that new window will not have your frames in it. Frames are not inherited to child windows.

    You would need to open a new frameset page in the window that loads the pages. OR you could pass in the pagename as a querystring to the new window and handle it that way.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

Posting Permissions

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



Click Here to Expand Forum to Full Width