Help with <a href=?...

Discussion in 'HTML & Website Design' started by kids, Feb 7, 2007.

  1. #1
    I want to design a new website. I place left navi-panel and have some links like this:
    Link 1 --> page1.html
    Link 2 --> page2.html
    ...
    But I want to hide page by filter like this:
    <a href=?page=namepage1>link 1[/url]
    <a href=?page=namepage2>link 2[/url]

    And when users click link 1, browser will be redirect to page1.html...

    Please help me how to do! Thanks
     
    kids, Feb 7, 2007 IP
  2. steveb

    steveb Well-Known Member

    Messages:
    1,434
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    175
    #2
    Goes like this:

    <a href="http://www.domain.com/link1.html">link 1</a>
    <a href="http://www.domain.com/link2.html">link 2</a>
    HTML:
     
    steveb, Feb 7, 2007 IP
  3. kids

    kids Active Member

    Messages:
    411
    Likes Received:
    4
    Best Answers:
    2
    Trophy Points:
    68
    #3
    Thanks for your reply but that's not for me. I need to hide page name. If I use php code, I could use redirect method. But my host dont support PHP code, HTML only. :(
     
    kids, Feb 7, 2007 IP
  4. steveb

    steveb Well-Known Member

    Messages:
    1,434
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    175
    #4
    You mean you want to hide the URL that shows at the bottom of the browser?
     
    steveb, Feb 7, 2007 IP
  5. kids

    kids Active Member

    Messages:
    411
    Likes Received:
    4
    Best Answers:
    2
    Trophy Points:
    68
    #5
    I want url like this:

    __http://mydomain.com/?page=pagex

    And browser will be redirect to a page .html (about.html, contact.html, etc...)

    <a href=?page=about>About Us</a> --> open page about.html
    ...

    I want to hide name of page, not hide in status bar. Thanks for your help!
     
    kids, Feb 7, 2007 IP
  6. Gmarvz

    Gmarvz Peon

    Messages:
    23
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i thought you said that your host doesn't support php?
     
    Gmarvz, Feb 7, 2007 IP
  7. rochow

    rochow Notable Member

    Messages:
    3,991
    Likes Received:
    245
    Best Answers:
    0
    Trophy Points:
    240
    #7
    You cannot hide the name of the page

    The only way to do it is change the status bar text
     
    rochow, Feb 7, 2007 IP