Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6750027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:45:35+00:00 2026-05-26T12:45:35+00:00

I have four links: <a href=http://google.com target=_blank>Google</a> <a href=http://bing.com target=_blank>Bing</a> <a href=http://yahoo.com target=_blank>Yahoo</a> <a

  • 0

I have four links:

<a href="http://google.com" target="_blank">Google</a>
<a href="http://bing.com" target="_blank">Bing</a>
<a href="http://yahoo.com" target="_blank">Yahoo</a>
<a href="http://wikipedia.com" target="_blank">wiki</a>

When I click on a link, it will opens in a new window.
And on click to another link, it will opens in the same window opened last time.

It is not good for me, I want to open a blank window on every single click, regardless of the opened windows.

How can I handle this? (I don’t care about double-click Google link opens it twice, doesn’t matter.)

And this is works, just it have to.

EXCUSE ME, communication problem with my PHP beast.

So, actually the links are like:

<a href="javascript:;" onclick = "window.open('http://google.com','Admin');">gaagle</a>
<a href="javascript:;" onclick = "window.open('http://bing.com','Admin');">bang</a>
<a href="javascript:;" onclick = "window.open('http://yahoo.com','Admin');">yahuu!</a>

And now, all the stuffs opens to the same window, because of the name tag (2nd param of window.open) -.- And since all the opened window’s ID was Admin, every other windows opened on that window. I did not checked it, excuse me for wasting your time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T12:45:36+00:00Added an answer on May 26, 2026 at 12:45 pm

    If you give each link a different target, they will open in different tabs / windows.

    <a href="http://google.com" target="googleWindow">Google</a>
    <a href="http://bing.com" target="bingWindow">Bing</a>
    <a href="http://yahoo.com" target="yahooWindow">Yahoo</a>
    <a href="http://wikipedia.com" target="wikiWindow">wiki</a>
    

    If you click a second time on a link, it will re-use the existing window if it is still available.

    If you use target="_blank" every click should be in a new tab / window, regardless of previous clicks. If you aren’t getting this behaviour, what browser are you using?

    If you want all clicks to goto the same window use…

    <a href="http://google.com" target="myWindow">Google</a>
    <a href="http://bing.com" target="myWindow">Bing</a>
    <a href="http://yahoo.com" target="myWindow">Yahoo</a>
    <a href="http://wikipedia.com" target="myWindow">wiki</a>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have set up external link tracking as Goals in Google Analytics according to
I am trying to get a simple page up that will have four links
I have four tables containing exactly the same columns, and want to create a
I have four flags Current = 0x1 Past = 0x2 Future = 0x4 All
I have four classes which share some arrangement of four properties. I have currently
I have four different lists. headers , descriptions , short_descriptions and misc . I
I have four UINavigationControllers assigned each to a tab in a UITabBarController. Each UINavigationController
I have four integer numbers a, b, c, d, and integer x ϵ [1,
I have four models that are related to one another, the way I have
I have four tables: Users PrivilegeGroups rdPrivileges LinkPrivilege ----------- ---------------- --------------- --------------- userId(pk) privilegeGroupId(pk)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.