Here's a question that you may find rather interesting. When your browser reads in a hyperlink, how does it determine if it should just stick your hyperlink into the location textbox, or if it should see it as another file in the same folder?

Specifically, this is what I am trying to get at. I have a website I just built, and I used Macromedia Fireworks to build the navigation bars. When it asked me what the destination should be, I typed in www.whatever.com/something/anything.html.

But now, when I uploaded the site, it doesn't read the destination like that, it pretends it is another page on the same server. And of course, I didn't put it there, and so it loads error 404.

I suspect that what I should have done is typed in http:// before the location. Is this the case? and is there any way I can write a little bit of Java Script to remedy the problem by cutting off the contents of the location textbox before trying to link to my location?

My deadline is Friday afternoon, by which time the site must be working, so any help ASP is appreciated. Thanks in advance.

Later in life you will be more disappointed by the things you haven't done than by those you have. So cast off the bowlines and sail away into the seas of opportunity.


  • Hiya,

    Maybe a little late for your deadlines, but yes it does look for the protocol at the start (or more likely, the server-name delimiter // or \), in your case the http:// bit, to determine if it is to go elsewhere or get a document from the current server. The reason being this is that I could on a server create a folder called www.somewhere.com - or anything like that.

    Hope that helps you understand a bit better. :)

    Take care,


    Count downloads from your site for free!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion