how to programmatically open in a new tab (IE 7.0) ? RRS feed

  • Question

  • I have an asp.net web page and it displays serveral links on it (the link's href property is set to a javascript function which in turn has a window.open function). It always opens up in a new window even if the user right clicks on the link and selects the option "Open in New Tab" and stills opens in a new browser window.

    Is there any way (either javascript function or some kind of .Net library function) to achieve this?

    Thanks a Lot!
    • Moved by Zhi-Xin Ye Thursday, August 14, 2008 1:45 PM should be posted on http://forums.asp.net (Moved from .NET Base Class Library to Off-Topic Posts (Do Not Post Here))
    Thursday, August 7, 2008 5:52 PM

All replies

  • try the below thing in CSS style sheet, i think this is achievable through style sheet.......not sure.

     * { target-new: tab ! important }
    Surya Prakash Jayanti. Mail me jnsuryaprakash@gmail.com
    Thursday, August 7, 2008 6:07 PM