Notices

Great community. Great ideas.

Welcome to ASP/Free, a community dedicated to helping beginners and professionals alike in improving their knowledge of Microsoft's development and administration technologies. Sign up today to gain access to the combined insight of tens of thousands of members.

Thread: Open new TAB not new window

Results 1 to 2 of 2
Share This Thread →
  1. #1
    sfullman is offline Contributing User
    Join Date
    Oct 2004
    Posts
    43
    Rep Power
    10

    Open new TAB not new window

    I have a situation where I have a main window that opens a "pop-up" wich contains information. Something I've done before is this, which causes the aprent to chang location and the popup to close

    Code:
    //script found in popup window
    window.opener.location='where I want it to go.htm';
    window.close();
    but now I want to do something different, i.e. have window.opener.location remain the same and a new TAB on the same level as window.opener open up. How do I do that?

    Samuel

  2. #2
    ChiefWigs1982's Avatar
    ChiefWigs1982 is offline Cunning Linguist
    Join Date
    Mar 2005
    Location
    I used to live at home, now I stay at the house
    Posts
    3,580
    Rep Power
    429
    You can't really - it's up to the user to decide if they want new
    windows opened in new browsers or new tabs...
    Support requests via PM will be ignored!
    Route of Queue | The General FAQ Thread | HOW TO POST A QUESTION

    Perfectly Impossible - is the eagerly awaited debut release from Jayne Sarah - please buy it - it's really good!


Share This Thread →

Become Part of This Conversation

Join NowFor Free!

Similar Threads

  1. A simple open new window function
    By Frost in forum .NET Development
    Replies: 14
    Last Post: January 31st, 2007, 01:20 PM
  2. JavaScript Open New Window Problem
    By mikecollins in forum HTML, JavaScript And CSS Help
    Replies: 7
    Last Post: October 18th, 2005, 05:15 PM
  3. Replies: 1
    Last Post: April 13th, 2005, 03:27 AM
  4. Close a child window while open - HELP!!
    By Stallion112 in forum HTML, JavaScript And CSS Help
    Replies: 4
    Last Post: May 20th, 2004, 01:38 PM
  5. How to open a new window without titlebar or close btn disabled?
    By Steve Schofield in forum ASP Development
    Replies: 0
    Last Post: September 3rd, 2000, 08:06 PM

ASP Free Advertisers and Affiliates