Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URL Question

Status
Not open for further replies.

gokeeffe

Programmer
Jan 11, 2005
170
IE
Hi Guys

What im trying to do is this, i just want my url to

for my website to appear in the address bar no matter

what page i'm on

example to appear on every page

I've seen this done on other websites

Tks

Gaz
 
What you're looking for is frames. Frames are usually best left alone, but since you are looking for one of the things that is notoriously bad with frames, I might just well give it to you. Create a frameset with two frames, one zero sized and the other one completely filling up the screen. In the second one, load your entire page.
Code:
<html>
  <head>
    <title>Non Changing Url</title>
  </head>

  <frameset rows="*,0">
    <frame src="myrealpage.html" name="mypage" scrolling="auto" frameborder="0" framespacing="0">
    <frame src="about:blank" name="blank" scrolling="none" frameborder="0" framespacing="0">
    <noframes>
      <body>
        <p>Sorry, my real page is <a href="myrealpage.html">here</a>.</p>
      </body>
    </noframes>
  </frameset>
</html>
 
Tks for the reply i didn't realise frames were involved

too risky, your right i'm staying away from that.

Tks anyway
 
i don't know how "risky" it is... but make sure that when you link to another website (not yours) put this link:

Code:
<a href="[URL unfurl="true"]http://www.somepage.com"[/URL] target="_parent" title="Some Page">Click Here</a>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top