Results 1 to 3 of 3

Thread: Open in new window

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140

    Open in new window

    Okay, we are trying to open the referenced page in a new window. When we use 'target' in the anchor tag set to either _new or _blank the referenced page will be opened in the other instance of the browser. In other words, if you go to this page, and then open a new browser window, and then click on this link, you will not get a third window. The new page will be loaded in the second window.

    We want you to get a brand new window.

    Any ideas? We are trying to avoid a JavaScript solution, but realize that may be the only way. If so, we'll fight with the cross-browser issues next.
    Travis, Kung Foo Journeyman
    As always, RTFM.

    WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
    Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    YBMS, but Mozilla doesn't.

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    This works for me:

    Code:
    <a href="http://www.google.com" target="_blank">Google</a>
    <a href="http://www.yahoo.com" target="_blank">Yahoo</a>
    Are you testing with IE? Because I believe there is a "re-use window" setting somewhere that might be the culprit.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    Yeah, I'm testing with IE 5 right now. I see the option you are talking about. Well... wonder if there is a way to override that.

    I hope not. I don't believe in overriding the users preferences. I don't believe in setting bookmarks for the user, or launching ad windows. It makes accessibility options a ***** to work out if a web page launches two or three little ads.

    Anyway, thanks, Josh. That is likely the problem.
    Travis, Kung Foo Journeyman
    As always, RTFM.

    WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
    Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    YBMS, but Mozilla doesn't.

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