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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frames

Status
Not open for further replies.

riches85

Programmer
Joined
Nov 13, 2002
Messages
59
Location
US
I have a site that uses frames. It has a top frame for the header and then a main frame for the sites contents. When you traverse the site the URL at the top of the browser doesnot change. Is there a way to have the url reflect the location of the page in the main frame?
 
in framed pages the url does not change as far as i know...

if your server has SSI or php or asp instead of frames you could consider includes. Then the url will reflect the new addresses.

sometime you just gotta say "WHAT THE @#*% !!"
 
The address bar contains the name of the page. In a framed site, that is the frameset page (a lot of people use frames because they don't want that URL to change). You have three options:

[ol][li]If you're married to frames (for technological or pathological reasons), make a unique frameset page for each page.[/li][li]If you're not married to frames, then find a non-frames solution, thus each page will appear unique in the Address Bar.[/li][li]Something else that someone will suggest that I haven't thought of.[/li][/ol]
Why must you use frames?

Hope that helps!

Cheers,


[monkey] Edward [monkey]

"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top