Results 1 to 5 of 5

Thread: Dynamic Ajax Content, but with browser functions?

  1. #1
    Join Date
    Mar 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamic Ajax Content, but with browser functions?

    1) Script Title: Dynamic Ajax Content

    2) Script URL (on DD):

    http://www.dynamicdrive.com/dynamici...jaxcontent.htm

    3) Describe problem:

    I have links dynamically loading external page content into a div, with javascript, using the "Dynmanic Ajax Content" script.

    I've got it working great, but my question is this: Is there anyway to have this type of navigation while maintaining browser functions(back, forward). I'd also like someway to have an unique address for the each page section. Right now you just go to the index.html, and it just stays there while you load content into the divs.

    Any ideas?

  2. #2
    Join Date
    Mar 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    If you document.write() the dynamic content to an iframe instead of a div you will be able to use the back/fwd buttons to navigate through content as if it were seperate web pages.

  3. #3
    Join Date
    Mar 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Okay that enables the back/forward buttons for me...but is there anyway that I can restructure this so I can still have the dynamic links, but have an absolute address for each page? so you'd be able to go to site.com/contact.html

  4. #4
    Join Date
    Mar 2007
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This is what i'm looking for too. I already saw a ajax website who create a permalink of the page (static page) and even load the title of every page loaded in the browser bar. i really don't know how they do that
    www.podcast.com
    I thought about a previous and back button in my mainculumn to help user to navigate the site, because if they push the back button in the browser they will get out of my website

  5. #5
    Join Date
    Aug 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm trying to get this same thing to work. I think I can figure out how to change the <div> to an iframe, but I don't konw where to insert the document.write() code. Any help?

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
  •