View Full Version : Disallowing replace
azeon
12-29-2002, 03:35 PM
Hi... I was wondering if there is a way you can disallow pages being replaced. This particularly happens when you click on a link on an application (e.g. register links). The last page you opened gets replaced with the register page for that application. I'm currently writing a web page, and I do not want any application to replace my page. Is there a way?
Thanks.
duniyadnd
12-29-2002, 04:54 PM
don't really get what you want... could you specify it a bit more?
thanks
duniyadnd
azeon
12-29-2002, 05:11 PM
I'll example further with an example:
Let's say I have MS Outlook running, and I was looking at sports news at espn.com. Then, a mail comes in, and that mail has a link to an article at foxsports.com. If I click the link, espn.com will be replaced by foxsports.com. Assuming that I am the web developer for espn.com, I don't want external applications (such as Outlook) to replace my pages. How can I prevent the espn.com page being replaced by the foxsport.com page?
Hope I've cleared uncertainties.
Thanks.
azeon
12-29-2002, 05:16 PM
"I'll example further with an example"???
I'll explain further with an example...^^
Borgtex
12-29-2002, 05:37 PM
:confused:
Errrr.... you mean opening the link in a new window? then use "target"
<a href="www.google.com" target="_blank">google</a>
azeon
12-29-2002, 06:05 PM
No... if every link had the target as _blank, I wouldn't be having this problem. Some links are designed to load up the contents on an existing browser with this JavaScript:
window.location.replace("newPage.htm")
Is there a way that the existing browser refuses the contents of other links to load up???
Thanks.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.