Results 1 to 3 of 3

Thread: Preload Dynamic Ajax Content page?

  1. #1
    Join Date
    Sep 2004
    Location
    Tallahassee, FL USA
    Posts
    264
    Thanks
    71
    Thanked 2 Times in 2 Posts

    Default Preload Dynamic Ajax Content page?

    1) Script Title: Dynamic Ajax Content

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

    3) Describe problem: I have the script working perfectly on the following page: http://www.cisfl.org/ourmodel.html But is it possible to have it so you can automatically load the first external script?

    For example, the hyperlink The Dropout Problem loads model01.html when clicked on, but I would like that to have it automatically appear when the main page http://www.cisfl.org/ourmodel.html is loading, rather than having to click first.

    Thanks,
    Deborah
    Deborah Whipp
    Web Designer
    Tallahassee, FL
    www.DWWebDesigns.com

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Well, the function:

    ajaxpage('test.htm', 'contentarea')

    when called loads a Ajax page into the specified DIV (with id "contentarea" in this case). So what you can do is just call the above at the end of your page to automatically load a page:

    Code:
    <script>
    
    ajaxpage('test.htm', 'contentarea')
    
    </script>
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    dmwhipp (06-19-2012)

  4. #3
    Join Date
    Sep 2004
    Location
    Tallahassee, FL USA
    Posts
    264
    Thanks
    71
    Thanked 2 Times in 2 Posts

    Default

    Thanks so much - it turned out pefectly: http://www.cisfl.org/ourmodel.html
    Deborah
    Deborah Whipp
    Web Designer
    Tallahassee, FL
    www.DWWebDesigns.com

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
  •