Click to See Complete Forum and Search --> : Change Address


dwang
07-29-2003, 11:00 PM
I want to change the address in the Address bar but the web page not display in the web browse.

Ex: The current address in the Address bar is: http//www.entit.com
I want to change: http://www.entit.com/secury/
but The web browse not display, CAN'T?

Please help me!

pyro
07-29-2003, 11:06 PM
Nope, you can't do that with javascript...

dwang
07-29-2003, 11:13 PM
Originally posted by pyro
Nope, you can't do that with javascript...

So what can I do the same job with any language?

pyro
07-30-2003, 06:51 AM
Not sure... I don't know of anyway to do it. There are two options, that may work for you:

1: If you open a new window, you can tell the new window to not even show the address bar

2: You could use frames. This will keep the address in the location bar the same as they navigate through the site.

dwang
07-30-2003, 08:43 PM
I don't want to use frame or iframe and open new window also.

I want to process in the current window but I can't.
Do you know use PHP or other language can make?

Because my boss want to change the address in address bar when he click on select box.

Ex: the current address is: http://www.entit.com/secury/
and then he click on select with some option:
- computer
-network
-...
when he click network he want the address bar display:
http://www.entit.com/network/secury/
but web browse is display http://www.entit.com/secury/network/

Do you have any solution for the instance?

Thanks!
:confused:

pyro
07-30-2003, 09:16 PM
No, even with serverside coding, the best you could do is include read the file you want to open and print out that HTML code. This is almost for certain going to cause the links to stop working and the images not to show up. Anything with a relative path won't work (unless the pages happen to be in the same directory, which they weren't in the example you gave).