I want to send a person to a specific URL in the same window that is currently open (but if there isn't one open, i will need to open a new browser window)
If anyone could help me figure this out, that would be great.
Thanks!
Printable View
I want to send a person to a specific URL in the same window that is currently open (but if there isn't one open, i will need to open a new browser window)
If anyone could help me figure this out, that would be great.
Thanks!
Hmm, well...
You can do the following:
But this will only open the website in a new window of Internet Explorer (regardless of the default browser).Code:Shell ("Explorer http://www.notarealsite.com")
Sorry, that's all I got, hope it helps.
JMik
Greetings,
Using ASP you could say:
Response.Redirect("somewhere.html")
Using JavaScript 2 you could say:
document.href = "somewhere.html"
Using HTML, you could say:
<a href="somewhere.html" target="_self">Go!</a>
Or even
<Meta Http-Equiv="refresh" Content="1;url=somewhere.html">
You see, it depends on what environment the user is in.
Imagine!