Browse AJAX Site Using Anchor

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • vunet

    Browse AJAX Site Using Anchor

    I've been thinking about how AJAX sites implement page browsing when
    in fact the whole site is on one page. I know I may store page content
    in array and add new content to this array as user clicks AJAX driven
    links for the purpose of browsing history, etc. But what if I want to
    share the page with somebody and AJAXed site always starts with the
    main page.
    I thought using anchor is the solution: www.mysite.com/#showHelpPage.
    JavaScript would detect the URL and show the page according to anchor
    (call showHelpPage page in my case). I would like to hea some thoughts
    if possible and other consideration for this solution. Perhaps,
    examples? Thanks.
  • T.J. Crowder

    #2
    Re: Browse AJAX Site Using Anchor

    On Mar 13, 5:53 pm, vunet <vunet...@gmail .comwrote:
    I've been thinking about how AJAX sites implement page browsing when
    in fact the whole site is on one page. I know I may store page content
    in array and add new content to this array as user clicks AJAX driven
    links for the purpose of browsing history, etc. But what if I want to
    share the page with somebody and AJAXed site always starts with the
    main page.
    I thought using anchor is the solution:www.mysite.com/#showHelpPage.
    JavaScript would detect the URL and show the page according to anchor
    (call showHelpPage page in my case). I would like to hea some thoughts
    if possible and other consideration for this solution. Perhaps,
    examples? Thanks.
    On some level, you may be reinventing the wheel:

    --
    T.J. Crowder
    tj / crowder software / com

    Comment

    • shawn

      #3
      Re: Browse AJAX Site Using Anchor

      You might as well throw in a flash intro screen and have all your
      content as images-- do you plan on having search engines crawl / list
      your site? Or does it degrade gracefully w/o javascript?

      Shawn

      Comment

      Working...