Results 1 to 3 of 3

Thread: Load webpage in to div onload

  1. #1
    Join Date
    Feb 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Load webpage in to div onload

    My website uses ajax to load other webpages in to a div. I would like to load a webpage into the div when the website is loaded.

    I thought I would be able to do this using body onload but am not having any joy.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    You will find some Ajax scripts here:
    http://www.dynamicdrive.com/dynamicindex17/indexb.html

    And if you want help with a specific page, you must post a link to it so that we can investigate the problem. (You could also post the source code, but linking us to a page will make helping you much easier and faster.)
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Feb 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have a div called "container" and I have succesfully managed to load a page into it from the toolbar on Dreamweaver which I am using. Unfortunately it doesn't work in an actual web browser. (Maybe a locating the page problem?)

    The idea is that the logo toolbar etc is constant and the webpage changes in the div "container" underneath.

    I also want to load a page into container automatically when the website is loaded.

    Site http://www.pa-ad.co.uk/

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
  •