Solved

Changing the URL displayed in the addess bar

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delete HTML table rows 12 30
Help to align the buttons in a row 2 29
Save ms data to server side. 19 46
How do I pull the base url for use in html links 7 23
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…

832 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