ABEO Posted June 19, 2003 Posted June 19, 2003 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?
Jay_Stealth Posted June 19, 2003 Posted June 19, 2003 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>
ABEO Posted June 19, 2003 Author Posted June 19, 2003 No thats in the status bar, I mean how do I put it in the address bar(at the top )
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now