Forum Moderators: open

Message Too Old, No Replies

Probably noob question, but please...

         

Taras

6:49 am on Dec 26, 2003 (gmt 0)

10+ Year Member



Is there any other way to have same URL in your address bar besides using frames?

Taras

6:52 am on Dec 26, 2003 (gmt 0)

10+ Year Member



Sorry for not being clear enough maybe.

Let's say you have your site, www.yoursite.com. When you type then in address bar it takes you to index.
Now from index you can browse to let's say www.yoursite.com/files.php

What I want to do is have address bar display only www.yoursite.com and not www.yoursite.com/files.php

I know you can do it with frames, where files.php is loaded within the page. Is there a way to do it without using frames?

bill

7:15 am on Dec 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



There is a bug in Microsoft IE now that lets you do this without frames only in IE, but it is a major security hole and will be patched soon (hopefully). Without frames there shouldn't be a way you can do this the way you describe.

tedster

7:31 am on Dec 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you have a limited amount of information to navigate -- and only then does this approach make sense -- you can put all your information on one page, but in different absolutely positioned divs. Then use a show/hide divs DHTML script (javascript plus css) to respond to navigational links.

(I assume you appreciate all of the standard
web functionality that your approach denies
your visitor - especially bookmarking your pages.)