www.webdeveloper.com
Results 1 to 2 of 2

Thread: name.com/index.php?p=main& -> name.com/MAIN#index.php?p=main&

  1. #1
    Join Date
    Jan 2009
    Posts
    1

    Lightbulb name.com/index.php?p=main& -> name.com/MAIN#index.php?p=main&

    I do not know much about javascript.
    My problem is that:
    I want that
    name.com/index.php?p=stg
    webpage or something read my urls after # mark

    anything in url stays still but
    name.com/MAIN#index.php?p=stg
    MAIN# or # sth with # comes before my url name.com/index.php?p=stg

    Sorry about my english.

  2. #2
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    7,974
    # has a special meaning in URLs - it indicates the id within the page that the browser should jump to after the page is loaded.

    index.php?p=stg is not a valid id since an id is not allowed to contain either a ? or an =

    Is name.com/index.php?p=stg#MAIN what you are after?
    Stephen

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles