Results 1 to 3 of 3

Thread: AJAX Dynamic Content and Back and Forward Buttons

  1. #1
    Join Date
    Nov 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AJAX Dynamic Content and Back and Forward Buttons

    1) Script Title: Dynamic Ajax Content

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...jaxcontent.htm

    3) Describe problem: I have just started using this script to create a site. I have multiple "base" pages in thier own directories, but direct links from one page to another, while loading different contents on the page on the end from the default. (Great job on the scripts and ideas listed here.)

    Now the only problem I'm having is when the ajax script is run to change the content of the page, it doesnt update the browser history, so when a user clicks the back button, most often it loads the current base page, or the last base page. I have read that it may be possible to use cookies, to store the history so the back button would work correctly, but havent had much luck finding an answer for that. I also thought that it may be possible to add the url directly to the window.history object, but havent had much luck making that work either. Any assistance would be greatly appreciated.

  2. #2
    Join Date
    Dec 2008
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    I am having the same problem.
    Does anyone knows of a solution or a site that teaches you how to solve this ?

  3. #3
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,382
    Thanks
    31
    Thanked 148 Times in 142 Posts
    Blog Entries
    34

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
  •