PDA

View Full Version : How can I clean up the address line?


Pavon
12-01-2002, 09:59 AM
Hi all,

Is there a way that I can hide querystrings from the address line when using <a> to jump from one page to anoher?

Thanks,

Fernando

mhere
12-01-2002, 11:57 AM
you can use frameset to keep your address bar clean:

<HTML>
<FRAMESET COLS="0, *">
<FRAME SRC="about:blank">
<FRAME SRC="main.html">
</FRAMESET>
</HTML>

more info on frames here (http://javascriptkit.com/frame1.shtml)

bacterozoid
12-01-2002, 12:20 PM
Indeed, frames are the only way to accomplish this. Though, a disadvantage: By having a frameset, if you were to refresh the page, the browser might load up the default page for your frame, instead of the current one.

mhere
12-01-2002, 05:57 PM
not only this one, but many other disadvantages/advantages are there.
before using, get familiar with their pros and cons

advantages and disvantages of frames (http://1callhosting.com/help/do_frames_affect_your_marketing.html)

bacterozoid
12-01-2002, 07:52 PM
That site brings up some good points. If you do plan to use frames, I think an essential part is a code that assures your user is viewing the site in the right frames. Check out a post of mine with a good solution to this Here (http://www.codingforums.com/showthread.php?s=&threadid=10735).

whammy
12-02-2002, 02:42 AM
Noone really looks at the URL anyway except for web developers... I really wouldn't worry about it unless you're using a querystring to pass sensitive data from page to page, in which case that might be a problem. :)

Adam20002
12-02-2002, 01:43 PM
I would agree with Whammy many sites fill up the address bar and users dont seem to mind.

Pavon
12-02-2002, 03:02 PM
Thanks to everyone for your help and information, it has really been extremely useful and inspiring.


Fernando Pavon