Results 1 to 2 of 2

Thread: Open in new window/tab

  1. #1
    Join Date
    Aug 2016
    Location
    Denmark
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Open in new window/tab

    So you wanted the links to open in a new browser window, rather than just letting people straight into the linked page. What i think you need to do is just add a blank in the link html, just like this:
    <a href="http://www.w3schools.com" target="_blank">Visit W3Schools.com!</a>
    unfortunately i have no idea what your other problem seems to be, please let me know if it helped or not.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Originally I deleted this post as pointless because there were no actual link tags involved in the thread to which you posted it, and I really don't think there's a difference between them using target and what we were doing in that thread. Basically, I just assumed you missed all that. However, because I do not have access to all the latest browsers, I'm curious. Will a link (like the one you mentioned) with target="_blank" open in a new tab or window in the same Edge environment under which a javascript coded (for example):

    Code:
    window.open("http://www.w3schools.com", "_blank");
    will not if it's activated as the result of an onchange event on a select element? My considerable experience says that there's no difference, and you probably have no idea what I'm talking about. But if you do, would you like to try some experiments in order to determine if this has changed? It would require that you have the Edge browser. Anyway, if you do, and you're game, so am I.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    jakobjanz (08-05-2016)

Similar Threads

  1. Replies: 1
    Last Post: 03-02-2011, 06:53 AM
  2. Replies: 0
    Last Post: 04-20-2010, 01:31 PM
  3. Replies: 2
    Last Post: 03-14-2009, 05:32 PM
  4. Replies: 6
    Last Post: 12-23-2008, 08:05 PM
  5. Replies: 2
    Last Post: 02-20-2005, 09:09 AM

Bookmarks

Posting Permissions

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