Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

instead of popup,make new tab in firefox browsers

Status
Not open for further replies.

Keendev

Technical User
Joined
Jan 23, 2006
Messages
106
Location
PH
hi, I have a link and popup pages in my main page,if possible instead of popping a page it would be best for the website to just automatically create a new tab window if/when using Firefox.

is this possible ?

any advice would be a great help.

tnx.
 
This is not possible to do from the page. The user controls how they want windows to appear - and if they choose for all windows to appear in tabs... then that's their call.

If you are working on a firefox extension though, then you can do it... just not on a web page.

Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
It might be worthy to mention that when using firefox a user can choose to have all links that are supposed open in new windows open in new tabs instead.

The way to add support for this user choice is to make your links like this
Code:
<a href="..." [COLOR=red]target="_blank"[/color]>...</a>

This way, you can let the user choose what they want when they click on your link.

Robert Carpenter
Remember....eternity is much longer than this ~80 years we will spend roaming this earth.
ô¿ô
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top