?
Solved

Open Link in a New Window

Posted on 2013-02-05
6
Medium Priority
?
494 Views
Last Modified: 2013-02-06
Is there anyway to make this line of code open the link in a new window? the users will be using Internet Exploter.

<center><p> <b> <i>To calculate a date <a href="http://tnex-x-psrf/cflow/query/assign_page.php">click here</a></i></b>.</p>

Open in new window


Thanks!
0
Comment
Question by:wantabe2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 1000 total points
ID: 38856622
to "open" a link in a new window, use the target keyword:
<center><p> <b> <i>To calculate a date <a target="_blank" href="http://tnex-x-psrf/cflow/query/assign_page.php">click here</a></i></b>.</p>

Open in new window

0
 
LVL 23

Assisted Solution

by:tailoreddigital
tailoreddigital earned 1000 total points
ID: 38856630
How about,

<center><p> <b> <i>To calculate a date <a href="http://tnex-x-psrf/cflow/query/assign_page.php" target="_blank">click here</a></i></b>.</p>



http://www.w3schools.com/tags/att_a_target.asp
0
 
LVL 15

Author Comment

by:wantabe2
ID: 38856640
That opened it in a new tab...is there a way to open it in a new browser session (window)?
0
CHALLENGE LAB: Troubleshooting Connectivity Issues

Goal: Fix the connectivity issue in the lab's AWS environment so that you can SSH into the provided EC2 instance.  

 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 38856669
I don't think you can "force" a "new window" from the html code...
and I think, that should remain the user's "choice"?!
why do you want a new window? if it's for a new "session", you need to pass some info to the page to clear session information ...
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 38856671
Opening in a 'tab' or 'window' is a user choice on most browsers.  What do you mean by "new browser session"?  If you are wanting to open a new 'session' in PHP, that isn't going to do it because the session cookie is shared by all open windows of a browser.  You would have to open a Different browser to open a different PHP session.
0
 
LVL 15

Author Comment

by:wantabe2
ID: 38856691
Well...at this time the users are right clicking the link & choosing "open in a new window". I was just trying streamline it a little. I guess they'll just keep doing it as they've been doing it.
0

Featured Post

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question