Results 1 to 9 of 9

Thread: How to hide the path of file in the address in ie

  1. #1
    Join Date
    Dec 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to hide the path of file in the address in ie

    sir,


    my client doesn't want me to dispaly the names of the web pages in the address bar . he only wishes to display the url and not the say, / index.html part .


    expect your generous meditation in this regard .

    With regards,

    auro.

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    *thinks*

    I can't see why he'd want to do that, but there are some very undignified ways of doing it, such as putting the whole site in a massive frameset. But please, don't do that. It's not nice.

    The only way I can think of doing it properly is to have each page (assuming there aren't that many) in its own folder, for example, http://site/prices, http://site/information, etc, etc.

    Call the files index.html and you won't need to link to the file itself, hopefully. Just set the link to http://site/page/ and it'll load the index.html file.

    Good luck,
    cr3
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Tell him that it's neither feasible nor necessary, and the clumsy methods of half-achieving it convey absolutely no benefits.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It's neither feasible nor necessary, and the clumsy methods of half-achieving it convey absolutely no benefits.
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I meant the OP, to his/her client. But hey, that works too.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  6. #6
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Twey
    Tell him that it's neither feasible [...]
    That's not necessarily true, but it certainly isn't practical (and I agree that it's not necessary).

    What can be worth doing is removing extensions from URLs. Over the long term, it can reduce maintenance effort should, say, a previously static document (.html) is made dynamic (.php, .asp, etc.). A server-driven content-negotiation mechanism (type-maps or MultiViews, in Apache) is one way to go about doing it.

    Mike

  7. #7
    Join Date
    Jan 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    One possible way might be to do the following:
    First, go the root URL of your site (in this example it is http://mysite.com/). Then, hold down alt and simultaneously press "Print Screen" (this is usually on the right of your keyboard to the left of the number pad and above the Insert, Home, Page Up/Down, Delete buttons). Then open up mspaint (on my computer it is under Start->Programs->Acessories->Paint but it could be anything) and hold down Ctrl(control) and then press V. Select the "box" tool (is a button with a little dashed rectangle in the middle) and click and drag around the address bar. Then make a script that pops up a window and make it display everything except for the address bar and use the images to insert he address bar within a frame.

    I am not really putting any finalization on this because there is a lot of room for expansion. For example, you could use a web designer to insert a layer with a text box for URL navigation over where the URL bar in the image is. Then you could insert a copy of just the "Go" button or whatever that is a link that will navigate to the address in the box. Then you could do something where if the URL is not within your clients site, popup a dialog warning them they are not in a normal browser.
    Since I am not really that great at actually coding stuff I will leave that to you. Besides, sometimes peoples coding styles vary depending on how they learned or how they like to code and can cause major read-ability problems.
    Hope this helped at least a little!

  8. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by Twey
    Tell him that it's neither feasible nor necessary, and the clumsy methods of half-achieving it convey absolutely no benefits.
    Quote Originally Posted by cr3
    It's neither feasible nor necessary, and the clumsy methods of half-achieving it convey absolutely no benefits.
    Quote Originally Posted by Twey
    I meant the OP, to his/her client. But hey, that works too.
    Quote Originally Posted by George Burns
    Say goodnight, Gracie.
    Quote Originally Posted by Grace Allen
    Goodnight Gracie!
    I couldn't resist.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  9. #9
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    First, go the root URL of your site (in this example it is http://mysite.com/). Then, hold down alt and simultaneously press "Print Screen" (this is usually on the right of your keyboard to the left of the number pad and above the Insert, Home, Page Up/Down, Delete buttons). Then open up mspaint (on my computer it is under Start->Programs->Acessories->Paint but it could be anything) and hold down Ctrl(control) and then press V. Select the "box" tool (is a button with a little dashed rectangle in the middle) and click and drag around the address bar. Then make a script that pops up a window and make it display everything except for the address bar and use the images to insert he address bar within a frame.
    While you're at it, you could just grab a copy of the Firefox source, modify it to hide any address in its address bar that contains your domain, and force everyone who visits your website to use it. But even then someone could use a packet sniffer.
    Redesigning chrome is never a good idea.
    Quote Originally Posted by John
    Quote Originally Posted by George Burns
    Say goodnight, Gracie.
    Quote Originally Posted by Grace Allen
    Goodnight Gracie!
    Heh.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •