5 Replies - 541 Views - Last Post: 20 January 2012 - 11:25 AM

Topic Sponsor:

#1 vmicchia  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 20-January 12

Force link open in current tab

Posted 20 January 2012 - 06:48 AM

Is there a way to force a link to open in the current tab? I tried to google it but I could not find anything about this.
A little bit of background. This is in a closed system no outside users will ever have to user this so no worries there. It will always be using IE (currently IE8).I need to either open it in the current tab or make the link close the previous tab. the link is static with the exception of one GET variable and it is opened from a program using PICKBASIC.

If anyone could point me in the right direction it would be very helpful.

Is This A Good Question/Topic? 0
  • +

Replies To: Force link open in current tab

#2 modi123_1  Icon User is online

  • Suiter #2
  • member icon


Reputation: 3548
  • View blog
  • Posts: 14,969
  • Joined: 12-June 08

Re: Force link open in current tab

Posted 20 January 2012 - 07:39 AM

Setting the target of the link works well.

<a href="http://www.google.com" target="_self">here</a>


_self pushes to the frame you are currently in!
Was This Post Helpful? 0
  • +
  • -

#3 vmicchia  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 20-January 12

Re: Force link open in current tab

Posted 20 January 2012 - 09:57 AM

View Postmodi123_1, on 20 January 2012 - 07:39 AM, said:

Setting the target of the link works well.

<a href="http://www.google.com" target="_self">here</a>


_self pushes to the frame you are currently in!


Right but The problem is that it is launching from an outside program not just a link on a site. I think I may have found the solution though. Since is is a closed system I'm just going to set all the computers internet options to not use multiple tabs. I just found out you can do that by going to tools->internet options->Tabs->Open links from other programs in:current tab
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is online

  • Suiter #2
  • member icon


Reputation: 3548
  • View blog
  • Posts: 14,969
  • Joined: 12-June 08

Re: Force link open in current tab

Posted 20 January 2012 - 10:04 AM

Quote

The problem is that it is launching from an outside program not just a link on a site. I

You never mentioned some "outside program".... just "force a link to open in the current tab".

What outside program is this?
Was This Post Helpful? 0
  • +
  • -

#5 vmicchia  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 25
  • Joined: 20-January 12

Re: Force link open in current tab

Posted 20 January 2012 - 10:15 AM

View Postvmicchia, on 20 January 2012 - 06:48 AM, said:

Is there a way to force a link to open in the current tab? I tried to google it but I could not find anything about this.
A little bit of background. This is in a closed system no outside users will ever have to user this so no worries there. It will always be using IE (currently IE8).I need to either open it in the current tab or make the link close the previous tab. the link is static with the exception of one GET variable and it is opened from a program using PICKBASIC.If anyone could point me in the right direction it would be very helpful.


The program is an ERP programmed in PICK BASIC with an UniVersal database.
Was This Post Helpful? 0
  • +
  • -

#6 Shane Hudson  Icon User is offline

  • D.I.C Technophile
  • member icon

Reputation: 326
  • View blog
  • Posts: 1,266
  • Joined: 06-December 09

Re: Force link open in current tab

Posted 20 January 2012 - 11:25 AM

Are you able to show us the code that produces the link? Without prior knowledge of the language and specific program, it is hard for us to help more than what modi123_1 already has!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1