Solved

Changing the URL displayed in the addess bar

Posted on 2003-10-24
6
152 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to make footer stick to bottom 9 38
div to fit another div 8 28
How to display div value on input field value in php 11 54
How to create a table with buttons 3 23
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

828 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