JS or PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Cesar
Forum Commoner
Posts: 31
Joined: Sat May 22, 2004 1:35 am

JS or PHP

Post by Cesar »

Please help!
As it is possible to forbid the client, to open a link in a new browser.
Thanks
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

I think this depends on the clients settings, but you can try using

Code: Select all

<a href="somelink.htm" target="_top">some link</a>
as your HTML code. This usually causes the browser to load the link in the same browser window.

PS: This is not really PHP or Javascript based, so it might be better in the Clientside forum.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

there's no way to forbid it.
Post Reply