Solved

Changing the URL displayed in the addess bar

Posted on 2003-10-24
6
149 Views
Last Modified: 2010-04-09
How can you change the value of a URL displayed in the Address bar of a browser (i.e. to display another url of your choice rather thant the real one). I realise this is bad practise for all sorts of reasons, but I am told it still needs to be done.

Flashtin
0
Comment
Question by:flashtin
  • 3
6 Comments
 
LVL 31

Accepted Solution

by:
seanpowell earned 50 total points
ID: 9614962
Well, here's one way:

<frameset cols="100%,*">
  <frame name="contents" src="mypage.html">
  <frame name="hidden">
</frameset>

Cal the frameset page, instead of the internal page.
0
 
LVL 7

Expert Comment

by:Xxavier
ID: 9618689
You don't need the hiiden frame this works, the frames page url shows up.

<frameset cols="100%,*">
  <frame name="contents" src="http://google.ca">
</frameset>
0
 
LVL 7

Expert Comment

by:Xxavier
ID: 9618697
sorry this

<frameset>
  <frame name="contents" src="http://google.ca">
</frameset>
0
 
LVL 7

Expert Comment

by:Xxavier
ID: 9618704
ps.  I am not trying to steal points here George was first, just pointing it out.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now