java_jedi
09-16-2002, 09:46 PM
I want to write a script that creates "fake" subdomains to my site. I could write a script like this:
if (window.location == "http://something.somedomain.com/")
{
window.location="http://www.somedomain.com/something";
}
Now, I want to fool my visitors so it looks like they are still at something.somedomain.com.
Is there any way I can write to the location box WITHOUT directing the browser to actually go there?
if (window.location == "http://something.somedomain.com/")
{
window.location="http://www.somedomain.com/something";
}
Now, I want to fool my visitors so it looks like they are still at something.somedomain.com.
Is there any way I can write to the location box WITHOUT directing the browser to actually go there?