Jump to content

Recommended Posts

Posted

I have a website, and I want to change the *displayed* url(in the address bar) to that of another site.

Anyone know how I can achieve this?


Posted

heres a fancy way of doing it, put this code between your head tags.

<script language="JavaScript">
var DS_Text="Yoursite.com";
var DS_Distance=96;
var DS_Speed=8;
var s="";
var m="";
var lm="";
function DS_StatusBarShoot(){
if(m==""){
lm="";
s=" ";
m=DS_Text+" ";
}
if(s.length!=1){
s=s.substring(DS_Speed,s.length);
}
else{
while(m.substring(0,1)==" "){
lm+=s;
s=m.substring(0,1);
m=m.substring(1,m.length);
}
lm+=s;
s=m.substring(0,1);
m=m.substring(1,m.length);
for(var i=0;i<DS_Distance;i++)
s=" "+s;
}
window.status=lm+s;
setTimeout("DS_StatusBarShoot()",20);
}
DS_StatusBarShoot();
</script>

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...