"thedarkman" wrote in message
On my websites, when I click on a link, I am transferred
to a new page.
It is also possible to open the new page but keep the old one open.
Is there a code you can put in the root directory, a bit like
robots.txt to alter this?
I think the default behavior of a link is to open a new page that replaces
the previous one, in the current browser and tab, so that the BACK button
returns to the page where the link was clicked. But on one forum I frequent,
there is an option to open the link in a new tab, or a new window, which is
another instance of the browser. Before tabs were introduced, there were
only the two choices. I'm not sure what code is involved for these choices,
but I know you can create a child window, although I think that is yet
another option.
I doubt there is any easy way to change the default action of the (client
side) browser with a server-side text file. But it may be possible to add
code to the web page that looks for such a file on the server and changes
its behavior accordingly, although I think it would be more appropriate to
use a client-side cookie where the user may adjust his/her own preference.
Paul